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

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

Issue 1474443002: Add UMA metrics to determine the usefulness of passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma
Patch Set: Fix time calculation Created 5 years 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2da99dff1997c2479937b2f2fb8178f02f347139..afa285dedc36fa0c2a3c51fc2df529568ee24abd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10739,6 +10739,23 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Event.PassiveListeners" enum="EventResultType">
+ <owner>dtapuska@chromium.org</owner>
+ <summary>
+ The result of handling of MouseWheel, TouchStart, TouchMove, TouchEnd events
+ in the renderer.
+ </summary>
+</histogram>
+
+<histogram name="Event.PassiveListeners.Latency" units="microseconds">
+ <owner>dtapuska@chromium.org</owner>
+ <summary>
+ Time between when a cancelable event was generated and the event processed
+ yet no action was executed for the event. This histogram tracks the
+ potential benefit of using passive events listeners.
+ </summary>
+</histogram>
+
<histogram name="Event.SingleTapType" enum="TapDelayType">
<owner>rbyers@chromium.org</owner>
<summary>
@@ -60320,6 +60337,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="128" label="Request type matched."/>
</enum>
+<enum name="EventResultType" type="int">
+ <int value="0" label="Passive"/>
+ <int value="1" label="Uncancelable"/>
+ <int value="2" label="Cancelable and not canceled"/>
+ <int value="3" label="Cancelable and canceled"/>
+</enum>
+
<enum name="EVWhitelistStatus" type="int">
<int value="0" label="Not present"/>
<int value="1" label="Invalid"/>
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698