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

Issue 1203803004: Adding a new ChangeLogger class to handle UMA logging of bitrates (Closed)

Created:
5 years, 6 months ago by hlundin-webrtc
Modified:
5 years, 5 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

Adding a new ChangeLogger class to handle UMA logging of bitrates This change introduces the sub-class ChangeLogger in AudioCodingModuleImpl. The class writes values to the named UMA histogram, but only if the value has changed since the last time (and always for the first call). This is to avoid the problem with audio codecs being registered but never used. Before this change, these codecs' bitrate was also logged, even though they were never used. BUG=chromium:488124 R=kwiberg@webrtc.org Committed: https://crrev.com/93fb53acf57eef05edba416373f254430ebf1b22 Cr-Commit-Position: refs/heads/master@{#9506}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change to ChangeLogger #

Patch Set 3 : Fixing a typo #

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

Messages

Total messages: 14 (4 generated)
hlundin-webrtc
Karl, Please, take a look at this CL. Thanks!
5 years, 6 months ago (2015-06-24 14:30:11 UTC) #1
kwiberg-webrtc
lgtm, but see comments https://codereview.webrtc.org/1203803004/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/1203803004/diff/1/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc#newcode189 webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc:189: bitrate_logger_.MaybeLogValue(); Sorry to come with ...
5 years, 5 months ago (2015-06-25 09:42:44 UTC) #2
hlundin-webrtc
PTAL again. Probably best diffed versus base. Thanks!
5 years, 5 months ago (2015-06-25 13:59:25 UTC) #3
kwiberg-webrtc
lgtm if you update the commit message
5 years, 5 months ago (2015-06-25 14:33:10 UTC) #4
hlundin-webrtc
Fixing a typo
5 years, 5 months ago (2015-06-25 17:11:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203803004/40001
5 years, 5 months ago (2015-06-25 17:12:15 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
5 years, 5 months ago (2015-06-25 19:12:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203803004/40001
5 years, 5 months ago (2015-06-25 19:21:28 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-25 20:03:17 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-06-25 20:03:19 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/93fb53acf57eef05edba416373f254430ebf1b22
Cr-Commit-Position: refs/heads/master@{#9506}

Powered by Google App Engine
This is Rietveld 408576698