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

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

Issue 2333063002: Record UMA for battery level when precache starts and ends (Closed)
Patch Set: Created 4 years, 3 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 f306e4efd6977bf52abe6738a3ef10dc6c9ab778..5258f2b33b8ad9a2668063fc64dd2403e20fd345 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -44774,6 +44774,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Precache.BatteryPercentage.Start" units="%">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The battery level in percentage when the precache task was started.
+ </summary>
+</histogram>
+
+<histogram name="Precache.BatteryPercentageDiff.End" units="%">
sclittle 2016/09/14 16:44:44 I thought precaching only happens when the device
Raj 2016/09/14 16:50:57 Yes. Currently it happens only when device is char
sclittle 2016/09/14 17:17:05 Acknowledged.
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ Measures the difference between the battery level percentage when the
+ precache task is started and ended. This value indicates the possible
+ battery usage due to the precache task. Logged when the precache task ends,
+ which could be due to successful completion, time-out, error conditions, max
+ download limit exceeded, etc.
+ </summary>
+</histogram>
+
<histogram name="Precache.CacheStatus.NonPrefetch" enum="HttpCachePattern">
<owner>jamartin@chromium.org</owner>
<owner>bengr@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698