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

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: 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
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..d977c8bf411db10a77aab55b29a7bab7207d88b7 100644
--- a/content/browser/renderer_host/media/audio_sync_reader.h
+++ b/content/browser/renderer_host/media/audio_sync_reader.h
@@ -67,6 +67,10 @@ 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 wasn't ready and report a UMA stat
Chris Rogers 2013/01/17 02:22:25 nit: "wasn't ready" -> "missed its real-time deadl
+ // during destruction if the count is too high.
+ size_t renderer_wasnt_ready_;
Chris Rogers 2013/01/17 02:22:25 nit: not too crazy about the name. How about miss
+
DISALLOW_COPY_AND_ASSIGN(AudioSyncReader);
};

Powered by Google App Engine
This is Rietveld 408576698