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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2124503002: UMA stats for AudioRendererSinkCache utilization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing review comments 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:
Download patch
« no previous file with comments | « content/renderer/media/audio_renderer_sink_cache_impl.cc ('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 1cf9ce5d7ffe91f579ba6efbdde276681ae02c14..2ae19bc04baf133cc874994f594172d79cfe19f9 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -21297,6 +21297,35 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram
+ name="Media.Audio.Render.SinkCache.GetOutputDeviceInfoCacheUtilization"
+ enum="GetOutputDeviceInfoCacheHit">
+ <owner>olka@chromium.org</owner>
+ <summary>
+ Whether a cached sink was used to get audio output device information, or a
+ new sink was created for that.
+ </summary>
+</histogram>
+
+<histogram name="Media.Audio.Render.SinkCache.InfoSinkReusedForOutput"
+ enum="BooleanReused">
+ <owner>olka@chromium.org</owner>
+ <summary>
+ When a new sink is created to get output device information, it is cached.
+ This metric shows if such a sink is later reused for audio output (can
+ happen no more than once) or deleted unused after timeout expires. Logged
+ when one of the abovementioned events takes place.
+ </summary>
+</histogram>
+
+<histogram name="Media.Audio.Render.SinkCache.UsedForSinkCreation"
+ enum="BooleanUsage">
+ <owner>olka@chromium.org</owner>
+ <summary>
+ Whether a sink was created through the sink cache or directly.
+ </summary>
+</histogram>
+
<histogram name="Media.Audio.RenderFailsWhenBufferSizeChangesMac"
enum="BooleanChanged">
<owner>henrika@chromium.org</owner>
@@ -78127,6 +78156,21 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2" label="Gesture predicted but didn't occur"/>
</enum>
+<enum name="GetOutputDeviceInfoCacheHit" type="int">
+ <int value="0" label="Miss: no cached sink found">
+ Output parmeters for a device are requested, and there is no corresponding
+ sink cached; new sink is created and cached.
+ </int>
+ <int value="1" label="Miss: cannot lookup by session id">
+ If session id is used to specify a device, we always have to create and
+ cache a new sink.
+ </int>
+ <int value="2" label="Hit">
+ Output parmeters for a device are requested, and there is a corresponding
+ sink cached.
+ </int>
+</enum>
+
<enum name="GetPerfDataOutcome" type="int">
<int value="0" label="Success.">
Perf data was collected, parsed and attached to the UMA protobuf
« no previous file with comments | « content/renderer/media/audio_renderer_sink_cache_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698