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

Issue 904203003: UMA histogram WebRTC.AecDelayBasedQuality updated (Closed)

Created:
5 years, 10 months ago by bjornv
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UMA histogram WebRTC.AecDelayBasedQuality updated The UMA histogram is used to verify performance of the Finch experiment "UseDelayAgnosticAEC". In webrtc:r8170 the Echo Delay Metrics queried through webrtc::EchoCancellation::GetEchoDelayMetrics() were changed from reset upon query to fixed aggregation window. These metrics are used in GetStats() and further to calculate and log WebRTC.AecDelayBasedQuality. Before the change we could not handle multiple clients, so we queried the metrics when a client called GetStats(). Now we can handle these two types of stats independently. In webrtc:r8230 a new metric was added. This metric calculates the fraction of poor delays. Before the change we calculated such a metric in chromium for logging WebRTC.AecDelayBasedQuality. Now we can query the metric directly and average several queries to match the desired aggregation length. - Adds a fourth histogram bucket to track invalid data - Adjusts the algorithm to log UMA histogram w.r.t. the new fraction_poor_delay metric - Removes UMA histogram dependency on someone else calling GetStats() - Changed GetAecStats() to take EchoCancellation instead of AudioProcessing. BUG=450193 Committed: https://crrev.com/3d4c1dabb48e36492a7084513d3caf4e65189ca2 Cr-Commit-Position: refs/heads/master@{#315331}

Patch Set 1 #

Patch Set 2 : Updated comment #

Total comments: 9

Patch Set 3 : Addressed review comments by perkj@ #

Total comments: 2

Patch Set 4 : Changed GetAecStats() to take EchoCancellation as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -65 lines) Patch
M content/renderer/media/media_stream_audio_processor.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.h View 1 2 3 4 chunks +9 lines, -10 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.cc View 1 2 3 7 chunks +57 lines, -43 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
bjornv
Dear reviewers, asvitkine: histogram.xml - Am I allowed to change the histogram size? I could ...
5 years, 10 months ago (2015-02-07 22:14:50 UTC) #2
perkj_chrome
https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc#newcode681 content/renderer/media/media_stream_audio_processor.cc:681: echo_information_.get()->UpdateAecDelayStats(ap); Is it safe to access echo_information_ on this ...
5 years, 10 months ago (2015-02-09 07:53:14 UTC) #3
bjornv
perkj, PTAL at this new patch set. https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc#newcode681 content/renderer/media/media_stream_audio_processor.cc:681: echo_information_.get()->UpdateAecDelayStats(ap); On ...
5 years, 10 months ago (2015-02-09 11:11:16 UTC) #4
perkj_chrome
lgtm https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/904203003/diff/20001/content/renderer/media/media_stream_audio_processor.cc#newcode681 content/renderer/media/media_stream_audio_processor.cc:681: echo_information_.get()->UpdateAecDelayStats(ap); On 2015/02/09 11:11:16, bjornv wrote: > On ...
5 years, 10 months ago (2015-02-09 11:48:31 UTC) #5
bjornv
perkj: I did two changes 1) Since echo_cancellation->GetDelayMetrics() returns int I did a proper check ...
5 years, 10 months ago (2015-02-09 14:39:11 UTC) #7
perkj_chrome
still lgtm
5 years, 10 months ago (2015-02-09 15:29:03 UTC) #8
Alexei Svitkine (slow)
lgtm
5 years, 10 months ago (2015-02-09 15:40:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/904203003/60001
5 years, 10 months ago (2015-02-09 17:24:08 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-09 17:28:10 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 17:28:41 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3d4c1dabb48e36492a7084513d3caf4e65189ca2
Cr-Commit-Position: refs/heads/master@{#315331}

Powered by Google App Engine
This is Rietveld 408576698