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

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

Issue 1978403004: Add UMA histograms for WebAudio (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index dbc6893f3bd19c012904bc24a7b57367a90f4199..9e1b721ed3ac195dab426fccbd971ff52c6c72eb 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -59544,6 +59544,61 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebAudio.AudioBuffer.Length">
Mark P 2016/05/20 23:03:30 please add units= annotations to all these histogr
Raymond Toy 2016/05/23 23:12:01 Any constraints on what units might be?
Mark P 2016/05/23 23:41:54 No. It's just a string displayed in the dashboard
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The length (in frames) requested by createBuffer(). Recorded for every call
+ to createBuffer().
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.AudioBuffer.NumberOfChannels">
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The number of channels requested by createBuffer(). Recorded for every call
+ to createBuffer().
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.AudioBuffer.SampleRate">
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The sample rate (in Hz) requested by createBuffer(). Recorded for every call
+ to createBuffer().
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.AudioBuffer.SampleRateRatio">
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The ratio of the buffer sample rate from createBuffer() to the context
+ sample rate multiplied by 100. This indicates if the buffer needs to be
+ resampled. Recorded for every call to createBuffer().
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.AudioContext.MaxChannelCount">
Mark P 2016/05/23 18:10:24 Consider "Available" instead of "Count". Count se
Raymond Toy 2016/05/23 20:36:03 I'm ok with changing the name, but maxChannelCount
Mark P 2016/05/23 21:30:24 I'd encourage clarity in the histograms because it
Raymond Toy 2016/05/24 17:04:12 I'm ok with changing the name, but maxChannelCount
Mark P 2016/05/24 17:35:18 Again, I'd still prefer the name changed. I'd rea
Raymond Toy 2016/05/24 17:46:40 No problem; I'll change it.
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The maximum number of (hardware) channels available in an AudioContext.
+ Recorded for every WebAudio AudioContext that is created.
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.AudioContext.SampleRate">
Mark P 2016/05/23 18:10:25 ditto about putting hardware in the title, as I ca
Raymond Toy 2016/05/23 20:36:03 There is a spec change where an audio context is s
Mark P 2016/05/23 21:30:24 Ah. BTW, "Hardware" is the normal way to capitali
Raymond Toy 2016/05/23 23:12:00 Yeah, typo on my part. I've changed it to Hardware
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The hardware sample rate (in Hz) used by an AudioContext. Recorded for every
+ WebAudio AudioContext that is created.
+ </summary>
+</histogram>
+
<histogram name="WebAudio.AudioDestination.CallbackBufferSize">
<owner>rtoy@chromium.org</owner>
<owner>hongchan@chromium.org</owner>
@@ -59586,6 +59641,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebAudio.BiquadFilter.Type">
Mark P 2016/05/23 18:10:24 Please use an enum= and then you won't need the en
Raymond Toy 2016/05/23 20:36:03 Acknowledged.
Raymond Toy 2016/05/23 23:12:00 Done.
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The type of the BiquadFilterNode. (0=Lowpass, 1=Highpass, 2=Bandpass,
+ 3=Lowshelf, 4=Highshelf, 5=Peaking, 6=Notch, 7=Allpass). Recorded each time
+ the type is set.
Mark P 2016/05/23 18:10:25 Can you give an approximate description of how oft
Raymond Toy 2016/05/23 20:36:03 I suspect this only happens once per filter node t
Raymond Toy 2016/05/23 23:12:00 Did you mean in the summary, or just for your info
Mark P 2016/05/23 23:41:54 Both times I asked for descriptions of when they'r
Raymond Toy 2016/05/24 16:54:22 Ok. The summary currently says it's recorded each
Mark P 2016/05/24 17:35:18 Yes. It's not obvious how often this is set. It
Raymond Toy 2016/05/24 17:46:40 I don't have a good feel for this. It's certainly
+ </summary>
+</histogram>
+
<histogram name="WebAudio.IIRFilterNode.Order">
<owner>rtoy@chromium.org</owner>
<owner>hongchan@chromium.org</owner>
@@ -59596,6 +59661,42 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebAudio.OfflineAudioContext.ChannelCount">
Mark P 2016/05/23 18:10:25 Do all the AudioBuffer and other histograms you're
Raymond Toy 2016/05/23 20:36:03 Yes. We don't much care in in the other histogram
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The number of channels specified for the offline audio context. Recorded for
+ every offline context created.
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.OfflineAudioContext.Length">
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The length (in frames) specified for the offline audio context. Recorded for
+ every offline context created.
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.OfflineAudioContext.SampleRate">
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The sample rate (in Hz) specified for the offline audio context. Recorded
+ for every offline context created.
+ </summary>
+</histogram>
+
+<histogram name="WebAudio.PannerNode.PanningModel">
Mark P 2016/05/23 18:10:24 Please use an enum.
Raymond Toy 2016/05/23 20:36:03 Acknowledged.
Raymond Toy 2016/05/23 23:12:00 Done.
+ <owner>rtoy@chromium.org</owner>
+ <owner>hongchan@chromium.org</owner>
+ <summary>
+ The panning model (&quot;equalpower&quot; = 0, &quot;HRTF&quot; = 1) for the
+ PannerNode. Recorded every time the panning model is changed.
Mark P 2016/05/23 18:10:24 Please describe approximate when this happens.
Raymond Toy 2016/05/23 20:36:03 Like the filter type, we expect the panner model t
+ </summary>
+</histogram>
+
<histogram name="WebController.CertVerificationErrorsCacheHit"
enum="BooleanCacheHit">
<owner>eugenebut@chromium.org</owner>

Powered by Google App Engine
This is Rietveld 408576698