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

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

Issue 2915863002: Photo Picker dialog: Add UMA statistics. (Closed)
Patch Set: Created 3 years, 7 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 81ea29002ff6ed11368beaf02cfa13a30a2eb440..9c2c5c52993a6b1ef26e8e04c0c4a70b3d8b7390 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -871,6 +871,49 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Android.PhotoPicker.BitmapScalerTask" units="ms">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the amount of time the BitmapScaler spends scaling per bitmap.
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.DialogAction"
+ enum="PhotoPickerDialogAction">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Records which action the user takes in the PhotoPickerDialog.
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.ImageDecodeTime" units="ms">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the amount of time it takes the decoder to decode one image.
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.RequestProcessTime" units="ms">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the amount of time it takes to process one decode request end to
+ end (RPC and actual decoding of the bits by utility process).
+ </summary>
+</histogram>
+
+<histogram name="Android.PhotoPicker.UpscaleLowResBitmap" units="ms">
+ <owner>finnur@chromium.org</owner>
+ <owner>twellington@chromium.org</owner>
+ <summary>
+ Measures the amount of time it takes to upscale a bitmap from the low-res
+ cache.
+ </summary>
+</histogram>
+
<histogram name="Android.PrepareMenu.OpenWebApkVisibilityCheck" units="ms">
<owner>hanxi@chromium.org</owner>
<owner>pkotwicz@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698