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

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

Issue 1367403003: Added UMA metrics for MediaSourcePlayer and MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-drm
Patch Set: Addressed Xiaohan's comments Created 5 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:
Download patch
« media/base/android/media_statistics.cc ('K') | « media/media.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 9ec692d7f0b42f988c624c9005b5038139735cc2..c21fb0627b586ca592cfcb7971ceb80b53fde38b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -17739,6 +17739,30 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.MSE.LateAudioFrames"
+ units="late frames per million frames">
+ <owner>qinmin@chromium.org</owner>
+ <owner>timav@chromium.org</owner>
+ <summary>
+ Relative number of late audio frames wrt total number of audio frames in MSE
+ playback, multiplied by one million. The audio frame is considered late if
+ it might cause an underrun, i.e. comes from decoder when audio buffer is
+ already depleted.
+ </summary>
+</histogram>
+
+<histogram name="Media.MSE.LateVideoFrames"
+ units="late frames per million frames">
+ <owner>qinmin@chromium.org</owner>
+ <owner>timav@chromium.org</owner>
+ <summary>
+ Relative number of late video frames wrt total number of video frames in MSE
+ playback, multiplied by one million. The video frame is late if it missed
+ its presentation time as determined by PTS when it comes from decoder. The
+ rendering policy (i.e. render or skip) does not affect it.
+ </summary>
+</histogram>
+
<histogram name="Media.MSE.NumberOfTracks">
<owner>acolwell@chromium.org</owner>
<summary>
@@ -17758,6 +17782,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.MSE.PlaybackDuration" units="seconds">
+ <owner>qinmin@chromium.org</owner>
+ <owner>timav@chromium.org</owner>
+ <summary>
+ Duration of an uninterrupted MSE playback. This is the time interval between
+ the playback starts or resumes and the moment when user stops the playback
+ by pressing pause, initiating a seek etc. Measured in media time in seconds.
+ </summary>
+</histogram>
+
+<histogram name="Media.MSE.Starvations" units="starvations per million frames">
+ <owner>qinmin@chromium.org</owner>
+ <owner>timav@chromium.org</owner>
+ <summary>
+ Relative number of starvations wrt total number of frames in MSE playback,
+ multiplied by one million. Starvation happens when the player interrupts the
+ regular playback and asks for more data, conditions are player-specific.
+ </summary>
+</histogram>
+
<histogram name="Media.MSE.VideoCodec" enum="MSECodec">
<owner>acolwell@chromium.org</owner>
<summary>
« media/base/android/media_statistics.cc ('K') | « media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698