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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2268253002: UMA stats for browser/renderer audio rendering buffer size mismatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: histogram rename Created 4 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
« no previous file with comments | « media/base/ipc/media_param_traits_macros.h ('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 933ea57125a994c1b3f1a2086bd727ce4ba59c12..8e0a8fa088b24265633ad46400a12ed0ca3c87d9 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -22063,6 +22063,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.Audio.Render.BrowserCallbackRegularity">
+ <owner>olka@chromium.org</owner>
+ <summary>
+ Reflects how regularly browser issues audio requests to renderer. Depends on
+ how well the system buffer size the browser side renders audio at and the
+ buffer size it requests from renderer are aligned. When zero, it means
+ renderer buffer size is a multiple of system buffer size, and render calls
+ from browser to renderer are issued evenly. When -1, it means the renderer
+ buffer size is larger than system buffer size, but is not an exact multiple
+ of it; in this case browser periodically skips a call to renderer. When
+ positive, floor(value/2) reflects the number of extra consecutive render
+ requests issued by browser to renderer each time to fulfill the system audio
+ render request; if (value/2) is not integer, then plus one more extra call
+ is issued periodically. The metric is recorded on the edge between browser
+ and renderer. On Mac the system buffer size may vary dynamically, the metric
+ does not capture that: only the buffer size mismatch introduced by audio
+ output device configuration is captured.
+ </summary>
+</histogram>
+
<histogram name="Media.Audio.Render.FramesRequested" units="frames">
<owner>tommi@chromium.org</owner>
<summary>
@@ -98359,6 +98379,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="DefaultBrowser.SetDefaultAsyncDuration"/>
</histogram_suffixes>
+<histogram_suffixes name="AudioLatency" separator=".">
+ <suffix name="LatencyExactMs" label="Exact latency in milliseconds"/>
+ <suffix name="LatencyInteractive" label="Interactive latency"/>
+ <suffix name="LatencyRtc" label="RTC latency"/>
+ <suffix name="LatencyPlayback" label="Playback latency"/>
+ <affected-histogram name="Media.Audio.Render.BrowserCallbackRegularity"/>
+</histogram_suffixes>
+
<histogram_suffixes name="AutofillDataAvailability" separator=".">
<suffix name="WithNoData" label="no autofill data"/>
<suffix name="WithOnlyServerData" label="only server autofill data"/>
« no previous file with comments | « media/base/ipc/media_param_traits_macros.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698