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

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: Use ENUM & add units 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') | no next file with comments »
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..0455ff6db7a6fe30eee5f7ddfe3686b29f945b04 100644
--- a/media/gpu/android_video_decode_accelerator.cc
+++ b/media/gpu/android_video_decode_accelerator.cc
@@ -194,6 +194,9 @@ class AVDATimerManager {
}
thread_avda_instances_.insert(avda_instance);
+ UMA_HISTOGRAM_ENUMERATION("Media.AVDA.NumAVDAInstances",
+ thread_avda_instances_.size(),
+ 31); // PRESUBMIT_IGNORE_UMA_MAX
return true;
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698