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

Unified Diff: content/browser/renderer_host/media/audio_sync_reader.h

Issue 11975031: Track UMA stats for when the renderer side audio device wasn't ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup! Created 7 years, 11 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 | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_sync_reader.h
diff --git a/content/browser/renderer_host/media/audio_sync_reader.h b/content/browser/renderer_host/media/audio_sync_reader.h
index b2c3b1ffcd5cbf97d030dcb6de30b29568ec73bb..1f07b200b0cf3904c63b5b217e0007eff81a0689 100644
--- a/content/browser/renderer_host/media/audio_sync_reader.h
+++ b/content/browser/renderer_host/media/audio_sync_reader.h
@@ -67,6 +67,11 @@ class AudioSyncReader : public media::AudioOutputController::SyncReader {
// Maximum amount of audio data which can be transferred in one Read() call.
int packet_size_;
+ // Track the number of times the renderer missed its real-time deadline and
+ // report a UMA stat during destruction.
+ size_t renderer_callback_count_;
+ size_t renderer_missed_callback_count_;
+
DISALLOW_COPY_AND_ASSIGN(AudioSyncReader);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698