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

Unified Diff: content/renderer/media/rtc_video_decoder.cc

Issue 23967010: Add UMA reporting for RTCVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_decoder.cc
diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc
index adce1f61b7e6dcb84bba726ce4050a797da031d0..5e4721a43459ecf92dd906ad1d0e930e1647f00e 100644
--- a/content/renderer/media/rtc_video_decoder.cc
+++ b/content/renderer/media/rtc_video_decoder.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop_proxy.h"
+#include "base/metrics/histogram.h"
#include "base/safe_numerics.h"
#include "base/stl_util.h"
#include "base/task_runner_util.h"
@@ -171,6 +172,7 @@ int32_t RTCVideoDecoder::InitDecode(const webrtc::VideoCodec* codecSettings,
kMaxInFlightDecodes,
kSharedMemorySegmentBytes));
}
+ UMA_HISTOGRAM_BOOLEAN("Media.RTCVideoDecoderInitDecode", true);
Ami GONE FROM CHROMIUM 2013/09/11 17:27:35 Do you want also want a false log somewhere to ind
Ami GONE FROM CHROMIUM 2013/09/11 17:27:35 You'll also need to edit histograms.xml if you wan
wuchengli 2013/09/13 07:38:23 Done.
wuchengli 2013/09/13 07:38:23 Done. I didn't use enumeration for InitDecode beca
return WEBRTC_VIDEO_CODEC_OK;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698