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

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

Issue 2933173003: Photo Picker dialog: Add UMA for file enumeration. (Closed)
Patch Set: Created 3 years, 6 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 306495853b65b312df82c35bd22c78caa71dd209..47ce8eaa4139e6c165e20ed6282ef1230ef535f3 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -993,6 +993,34 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Android.PhotoPicker.EnumeratedFiles" units="Files">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the total number of files returned from the enumeration operation.
+ Measured once at the end of the enumeration operation.
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.EnumeratedRate"
+ units="Files per 10th of a second">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the enumeration rate (files per tenths of a second). Measured once
+ at the end of the enumeration operation.
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.EnumerationTime" units="ms">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the amount of time the BitmapScaler spent enumerating files on
+ disk. Measured once at the end of the enumeration operation.
+ </summary>
+</histogram>
+
<histogram name="Android.PhotoPicker.ImageByteCount" units="KB">
<owner>finnur@chromium.org</owner>
<owner>twellington@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698