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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2333063002: Record UMA for battery level when precache starts and ends (Closed)
Patch Set: Addressed nits 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
« no previous file with comments | « components/precache/android/java/src/org/chromium/components/precache/DeviceState.java ('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 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="%">
+ <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>
« no previous file with comments | « components/precache/android/java/src/org/chromium/components/precache/DeviceState.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698