Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2341413002: New scroll latency metrics added for touch and wheel. (Closed)
Patch Set: Use thread_name to compute _MAin, _Impl only once. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 51b2c69057a9778abc76969b5c093972495af944..b8c8fa6abc0a1719be1f910de1176b39eca33b4a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13718,6 +13718,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.ScrollUpdate.BrowserNotifiedToBeforeGpuSwap"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by
+ Event.Latency.ScrollUpdate.Touch.BrowserNotifiedToBeforeGpuSwap2,
+ Event.Latency.ScrollUpdate.Wheel.BrowserNotifiedToBeforeGpuSwap2 in M56.
+ https://crbug.com/649754
+ </obsolete>
<summary>
Time between the browser receives the notification of a ScrollUpdate gesture
event induced renderer swap and GPU starts to swap.
@@ -13726,6 +13732,10 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.ScrollUpdate.GpuSwap" units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by Event.Latency.ScrollUpdate.Touch.GpuSwap2,
+ Event.Latency.ScrollUpdate.wheel.GpuSwap2 in M56. https://crbug.com/649754
+ </obsolete>
<summary>
Time between gpu starts to swap a ScrollUpdate gesture event induced frame
and the swap finishes.
@@ -13735,6 +13745,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.ScrollUpdate.HandledToRendererSwap"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by Event.Latency.ScrollUpdate.Touch.HandledToRendererSwap2,
+ Event.Latency.ScrollUpdate.Wheel.HandledToRendererSwap2 in M56.
+ https://crbug.com/649754
+ </obsolete>
<summary>
Time between the ScrollUpdate gesture event is handled on main/impl thread
(specified by suffix) and before renderer starts to swap.
@@ -13744,15 +13759,74 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.ScrollUpdate.RendererSwapToBrowserNotified"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by
+ Event.Latency.ScrollUpdate.Touch.RendererSwapToBrowserNotified2,
+ Event.Latency.ScrollUpdate.Wheel.RendererSwapToBrowserNotified2 in M56.
+ https://crbug.com/649754
+ </obsolete>
<summary>
Time between the renderer starts to swap a frame induced by ScrollUpdate
gesture event and browser receives the swap notification.
</summary>
</histogram>
+<histogram
+ name="Event.Latency.ScrollUpdate.Touch.BrowserNotifiedToBeforeGpuSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the browser receives the notification of a ScrollUpdate gesture
+ event with touch source induced renderer swap and GPU starts to swap.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.GpuSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between gpu starts to swap a ScrollUpdate gesture event with touch
+ source induced frame and the swap finishes.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.HandledToRendererSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the ScrollUpdate gesture event with touch source, is handled on
+ main/impl thread (specified by suffix) and before renderer starts to swap.
+ </summary>
+</histogram>
+
+<histogram
+ name="Event.Latency.ScrollUpdate.Touch.RendererSwapToBrowserNotified2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the renderer starts to swap a frame induced by ScrollUpdate
+ gesture event with touch source, and browser receives the swap notification.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Touch.TimeToHandled2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and the generated
+ ScrollUpdate gesture event is handled on main/impl thread (specified by
+ suffix). If no swap was induced by the ScrollUpdate gesture event, no
+ recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.ScrollUpdate.TouchToHandled"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by Event.Latency.ScrollUpdate.Touch.TimeToHandled2 in M56.
+ https://crbug.com/649754
+ </obsolete>
<summary>
Time between initial creation of a touch event and the generated
ScrollUpdate gesture event is handled on main/impl thread (specified by
@@ -13761,6 +13835,76 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram
+ name="Event.Latency.ScrollUpdate.Wheel.BrowserNotifiedToBeforeGpuSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the browser receives the notification of a ScrollUpdate gesture
+ event with wheel source induced renderer swap and GPU starts to swap.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.GpuSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between gpu starts to swap a ScrollUpdate gesture event with wheel
+ source induced frame and the swap finishes.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.HandledToRendererSwap2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the ScrollUpdate gesture event with wheel source, is handled on
+ main/impl thread (specified by suffix) and before renderer starts to swap.
+ </summary>
+</histogram>
+
+<histogram
+ name="Event.Latency.ScrollUpdate.Wheel.RendererSwapToBrowserNotified2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between the renderer starts to swap a frame induced by ScrollUpdate
+ gesture event with wheel source, and browser receives the swap notification.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.ScrollUpdate.Wheel.TimeToHandled2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a wheel event and the generated
+ ScrollUpdate gesture event is handled on main/impl thread (specified by
+ suffix). If no swap was induced by the ScrollUpdate gesture event, no
+ recording is made.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.Touch.TimeToFirstScrollUpdateSwapBegin2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and the start of the frame
+ swap on the GPU service caused by the generated ScrollUpdate gesture event
+ if that ScrollUpdate is the first such event in a given scroll gesture event
+ sequence. If no swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
+<histogram name="Event.Latency.Touch.TimeToScrollUpdateSwapBegin2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a touch event and start of the frame swap
+ on the GPU service caused by the generated ScrollUpdate gesture event. If no
+ swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.TouchToFirstScrollUpdateSwap"
units="microseconds">
<owner>rbyers@chromium.org</owner>
@@ -13779,6 +13923,10 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.TouchToFirstScrollUpdateSwapBegin"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by Event.Latency.Touch.TimeToFirstScrollUpdateSwapBegin2 in
+ M56. https://crbug.com/649754
+ </obsolete>
<summary>
Time between initial creation of a touch event and the start of the frame
swap on the GPU service caused by the generated ScrollUpdate gesture event
@@ -13802,6 +13950,10 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Event.Latency.TouchToScrollUpdateSwapBegin"
units="microseconds">
<owner>rbyers@chromium.org</owner>
+ <obsolete>
+ To be replaced by Event.Latency.Touch.TimeToScrollUpdateSwapBegin2 in M56.
+ https://crbug.com/649754
+ </obsolete>
<summary>
Time between initial creation of a touch event and start of the frame swap
on the GPU service caused by the generated ScrollUpdate gesture event. If no
@@ -13809,6 +13961,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.Latency.Wheel.TimeToFirstScrollUpdateSwapBegin2"
+ units="microseconds">
+ <owner>tdresser@chromium.org</owner>
+ <summary>
+ Time between initial creation of a wheel event and the start of the frame
+ swap on the GPU service caused by the generated ScrollUpdate gesture event
+ if that ScrollUpdate is the first such event in a given scroll gesture event
+ sequence. If no swap was induced by the event, no recording is made.
+ </summary>
+</histogram>
+
<histogram name="Event.Latency.X11EventSource.UpdateServerTime"
units="microseconds">
<obsolete>
@@ -108412,9 +108575,15 @@ value.
<histogram_suffixes name="ScrollUpdateHandledThread">
<affected-histogram name="Event.Latency.ScrollUpdate.HandledToRendererSwap"/>
+ <affected-histogram
+ name="Event.Latency.ScrollUpdate.Touch.HandledToRendererSwap2"/>
+ <affected-histogram name="Event.Latency.ScrollUpdate.Touch.TimeToHandled2"/>
<suffix name="Main" label="ScrollUpdate handled on main thread"/>
<suffix name="Impl" label="ScrollUpdate handled on impl thread"/>
<affected-histogram name="Event.Latency.ScrollUpdate.TouchToHandled"/>
+ <affected-histogram
+ name="Event.Latency.ScrollUpdate.Wheel.HandledToRendererSwap2"/>
+ <affected-histogram name="Event.Latency.ScrollUpdate.Wheel.TimeToHandled2"/>
</histogram_suffixes>
<histogram_suffixes name="SecurityInterstitialSBType" separator="."

Powered by Google App Engine
This is Rietveld 408576698