Closed Bug 1220699 Opened 10 years ago Closed 10 years ago

Add telemetry probe to measure vsync latency in the refresh driver

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- fixed
firefox44 --- fixed
firefox45 --- fixed
b2g-v2.5 --- fixed

People

(Reporter: mchang, Assigned: mchang)

References

Details

Attachments

(2 files, 1 obsolete file)

Attachment #8682061 - Attachment is obsolete: true
Attachment #8682061 - Flags: review?(avihpit)
Attachment #8682077 - Flags: review?(avihpit)
Comment on attachment 8682077 [details] [diff] [review] Add telemetry probe to measure vsync latency in the refresh driver Review of attachment 8682077 [details] [diff] [review]: ----------------------------------------------------------------- r+ with the comment addressed. We well discuss later what other related metrics are required with e10s+APZ. ::: layout/base/nsRefreshDriver.cpp @@ +362,5 @@ > if (XRE_IsParentProcess()) { > MonitorAutoLock lock(mRefreshTickLock); > + #ifndef ANDROID /* bug 1142079 */ > + TimeDuration vsyncLatency = TimeStamp::Now() - aVsyncTimestamp; > + Telemetry::Accumulate(Telemetry::FX_REFRESH_DRIVER_FRAME_DELAY_MS, Change this to FX_REFRESH_DRIVER_CHROME_FRAME_DELAY_MS
Attachment #8682077 - Flags: review?(avihpit) → review+
Btw, this will need to be uplifted to Aurora and Beta
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment on attachment 8682077 [details] [diff] [review] Add telemetry probe to measure vsync latency in the refresh driver Approval Request Comment [Feature/regressing bug #]: Bug 1144946. [User impact if declined]: None, this is a telemetry probe that currently exists in beta, but was accidentally deleted / unused. [Describe test coverage new/current, TreeHerder]: Mochitest, manual testing. [Risks and why]: Low, this is just a telemetry probe. [String/UUID change made/needed]: None
Attachment #8682077 - Flags: approval-mozilla-beta?
Attachment #8682077 - Flags: approval-mozilla-aurora?
Comment on attachment 8682077 [details] [diff] [review] Add telemetry probe to measure vsync latency in the refresh driver Actually, this patch won't work since it needs to be rebased.
Attachment #8682077 - Flags: approval-mozilla-beta?
Attachment #8682077 - Flags: approval-mozilla-aurora?
See comment 8. Patch rebased for aurora/beta.
Attachment #8683209 - Flags: review+
Attachment #8683209 - Flags: approval-mozilla-beta?
Attachment #8683209 - Flags: approval-mozilla-aurora?
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
Comment on attachment 8683209 [details] [diff] [review] Add telemetry probe to measure sync latency in chrome refresh driver Telemetry change, should be safe. Should be in 43 beta 2.
Attachment #8683209 - Flags: approval-mozilla-beta?
Attachment #8683209 - Flags: approval-mozilla-beta+
Attachment #8683209 - Flags: approval-mozilla-aurora?
Attachment #8683209 - Flags: approval-mozilla-aurora+
(In reply to Carsten Book [:Tomcat] from comment #13) > https://hg.mozilla.org/releases/mozilla-aurora/ > pushloghtml?changeset=e96670656f90 ups https://hg.mozilla.org/releases/mozilla-aurora/rev/44ce9fe80d5d is the correct one
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: