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

Issue 1213733004: Adds UMA histogram for system delay jumps (Closed)

Created:
5 years, 6 months ago by bjornv1
Modified:
5 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, aluebs-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adds UMA histogram for system delay jumps Sudden platform system delay jumps can hurt AEC and we have no stats that monitor these jumps. How often do they occur, and when they are reported are they accurate? This CL logs all jumps in both the reported and actual delay. The histogram has been tested with a chromium build where a fake jump of 200 ms was applied after 5 seconds and it was registered correctly in chrome://histograms BUG=488124 R=henrik.lundin@webrtc.org, peah@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/1ca324f23770e17d19433ccd3a3b021870d709ca

Patch Set 1 #

Total comments: 11

Patch Set 2 : Changed granularity #

Total comments: 2

Patch Set 3 : includes base/checks.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 5 chunks +37 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_tests.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
bjornv1
Dear reviewers, PTAL at this UMA histogram CL. Should we log the jump size or ...
5 years, 6 months ago (2015-06-26 17:22:22 UTC) #2
hlundin-webrtc
Mostly LG, but please, see comments. https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1010 webrtc/modules/audio_processing/audio_processing_impl.cc:1010: 1001 - kMinDiffDelayMs); ...
5 years, 5 months ago (2015-06-29 08:53:19 UTC) #3
bjornv1
PTAL https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1010 webrtc/modules/audio_processing/audio_processing_impl.cc:1010: 1001 - kMinDiffDelayMs); On 2015/06/29 08:53:18, hlundin-webrtc wrote: ...
5 years, 5 months ago (2015-06-29 10:40:23 UTC) #4
hlundin-webrtc
LGTM with one nit. https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_tests.gypi File webrtc/modules/audio_processing/audio_processing_tests.gypi (right): https://codereview.webrtc.org/1213733004/diff/1/webrtc/modules/audio_processing/audio_processing_tests.gypi#newcode114 webrtc/modules/audio_processing/audio_processing_tests.gypi:114: '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', On 2015/06/29 10:40:23, bjornv1 ...
5 years, 5 months ago (2015-06-29 10:55:05 UTC) #5
bjornv1
Per, any additional comments? https://codereview.webrtc.org/1213733004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1213733004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1014 webrtc/modules/audio_processing/audio_processing_impl.cc:1014: const int frames_per_ms = rtc::CheckedDivExact(split_rate_, ...
5 years, 5 months ago (2015-06-29 11:05:01 UTC) #6
peah-webrtc
Since diff_stream_delay_ms is computed as const int diff_stream_delay_ms = stream_delay_ms_ - last_stream_delay_ms_; and the following ...
5 years, 5 months ago (2015-06-29 12:05:42 UTC) #7
peah-webrtc
lgtm
5 years, 5 months ago (2015-06-29 12:17:53 UTC) #8
peah-webrtc
lgtm
5 years, 5 months ago (2015-06-29 12:18:02 UTC) #9
peah-webrtc
lgtm
5 years, 5 months ago (2015-06-29 12:18:10 UTC) #10
bjornv1
5 years, 5 months ago (2015-06-29 12:57:48 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
1ca324f23770e17d19433ccd3a3b021870d709ca (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698