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

Unified Diff: media/gpu/android_video_decode_accelerator.cc

Issue 2195443002: Add a histogram: Media.AVDA.NumAVDAInstances (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_decode_accelerator.cc
diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc
index 41b1f28fec18d1a78bd58ff270103c8fa361966c..1c1896bae0f4eca5c0e7912e1bc9e6818bf9c9cf 100644
--- a/media/gpu/android_video_decode_accelerator.cc
+++ b/media/gpu/android_video_decode_accelerator.cc
@@ -194,6 +194,8 @@ class AVDATimerManager {
}
thread_avda_instances_.insert(avda_instance);
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Media.AVDA.NumAVDAInstances",
rkaplow 2016/07/29 20:31:58 This would be better by using the ENUM macro, like
watk 2016/08/01 18:09:52 Good to know. Done.
+ thread_avda_instances_.size(), 1, 20, 20);
return true;
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698