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

Issue 1178053002: Add UMA logging for target audio bitrate (Closed)

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

Description

Add UMA logging for target audio bitrate This CL logs the target audio bitrate to a UMA histogram called WebRTC.Audio.TargetBitrateInKbps. It logs the rate when a codec is created, and when the target is explicitly updated. Note that since each codec implementation is free to change or ignore the target value, there is no guarantee that the logged value will actually be used as the target. BUG=chromium:488124 Committed: https://crrev.com/6b4a564d21cac99edfa4ab1cb95d525d40855141 Cr-Commit-Position: refs/heads/master@{#9484}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Define histogram name in a constant #

Patch Set 3 : Rebase #

Patch Set 4 : Using GetTargetBitrate #

Total comments: 2

Patch Set 5 : Change to pre-processor define #

Patch Set 6 : Fixing a problem that was revealed in tests, and silencing a few warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M webrtc/modules/audio_coding/main/acm2/acm_common_defs.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_manager.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner.cc View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
hlundin-webrtc
Karl, Please, take a look. Thanks!
5 years, 6 months ago (2015-06-11 09:39:33 UTC) #3
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc File webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc (right): https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc#newcode292 webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc:292: RTC_HISTOGRAM_COUNTS_100("WebRTC.Audio.TargetBitrateInKbps", Define a constant for this string? You ...
5 years, 6 months ago (2015-06-11 10:03:14 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc File webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc (right): https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc#newcode292 webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc:292: RTC_HISTOGRAM_COUNTS_100("WebRTC.Audio.TargetBitrateInKbps", On 2015/06/11 10:03:13, kwiberg1 wrote: > Define a ...
5 years, 6 months ago (2015-06-11 10:11:48 UTC) #5
kwiberg-webrtc
https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc File webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc (right): https://codereview.webrtc.org/1178053002/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc#newcode292 webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc:292: RTC_HISTOGRAM_COUNTS_100("WebRTC.Audio.TargetBitrateInKbps", On 2015/06/11 10:11:48, hlundin-webrtc wrote: > On 2015/06/11 ...
5 years, 6 months ago (2015-06-11 11:01:25 UTC) #6
hlundin-webrtc
Define histogram name in a constant
5 years, 6 months ago (2015-06-16 11:36:31 UTC) #7
hlundin-webrtc
Rebase
5 years, 6 months ago (2015-06-18 13:19:55 UTC) #8
hlundin-webrtc
Using GetTargetBitrate
5 years, 6 months ago (2015-06-18 13:23:04 UTC) #9
hlundin-webrtc
Karl, Care to take another look? For reference, you reviewed patch set 1 last time. ...
5 years, 6 months ago (2015-06-18 13:26:38 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/1178053002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_common_defs.h File webrtc/modules/audio_coding/main/acm2/acm_common_defs.h (right): https://codereview.webrtc.org/1178053002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_common_defs.h#newcode80 webrtc/modules/audio_coding/main/acm2/acm_common_defs.h:80: "WebRTC.Audio.TargetBitrateInKbps"; This will make a new copy of the ...
5 years, 6 months ago (2015-06-18 14:35:52 UTC) #11
hlundin-webrtc
PTAL again. https://codereview.webrtc.org/1178053002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_common_defs.h File webrtc/modules/audio_coding/main/acm2/acm_common_defs.h (right): https://codereview.webrtc.org/1178053002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_common_defs.h#newcode80 webrtc/modules/audio_coding/main/acm2/acm_common_defs.h:80: "WebRTC.Audio.TargetBitrateInKbps"; On 2015/06/18 14:35:52, kwiberg1 wrote: > ...
5 years, 6 months ago (2015-06-22 11:00:31 UTC) #12
kwiberg-webrtc
lgtm
5 years, 6 months ago (2015-06-22 11:05:46 UTC) #13
hlundin-webrtc
Fixing a problem that was revealed in tests, and silencing a few warnings
5 years, 6 months ago (2015-06-22 12:32:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178053002/100001
5 years, 6 months ago (2015-06-22 12:33:21 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-22 13:35:15 UTC) #18
commit-bot: I haz the power
5 years, 6 months ago (2015-06-22 13:35:32 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6b4a564d21cac99edfa4ab1cb95d525d40855141
Cr-Commit-Position: refs/heads/master@{#9484}

Powered by Google App Engine
This is Rietveld 408576698