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

Issue 2296253002: Enable BWE logging to command line when rtc_enable_bwe_test_logging is set to true (Closed)

Created:
4 years, 3 months ago by Gaetano Carlucci
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enable BWE logging to command line when rtc_enable_bwe_test_logging is set to true This patch enables bwe related variable logging to the command line. This is useful to test congestion control algorithm over real networks. NOTRY=true Committed: https://crrev.com/52a57037219ef340772477ffcdf7c8d98dbc9b88 Cr-Commit-Position: refs/heads/master@{#14209}

Patch Set 1 #

Patch Set 2 : adding BWE_TEST_LOGGING_COMPILE_TIME_ENABLE to gn files #

Total comments: 20

Patch Set 3 : Added plot function which considers ssrc #

Total comments: 4

Patch Set 4 : refactoring and differentiate video from audio in rtp_sender #

Patch Set 5 : fixing gn files and gyp files updated #

Patch Set 6 : minor change to gyp files #

Total comments: 1

Patch Set 7 : synchronizing remote_bitrate_estimator.gypi #

Total comments: 1

Patch Set 8 : removing enable_bwe_test_logging declaration in remote_bitrate_estimator.gypi #

Total comments: 1

Patch Set 9 : removing empty line #

Patch Set 10 : fixing merge conflict #

Patch Set 11 : adding macro declaration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -33 lines) Patch
M webrtc/build/webrtc.gni View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/bitrate_controller/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_controller.gypi View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_controller_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +11 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -10 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/overuse_detector.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/overuse_estimator.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi View 1 2 3 4 5 6 7 3 chunks +11 lines, -10 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +25 lines, -0 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.cc View 1 2 3 1 chunk +15 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/rtp_rtcp.gypi View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (31 generated)
Gaetano Carlucci
This is a draft of the patch I am writing to enable variables logging to ...
4 years, 3 months ago (2016-08-31 18:00:12 UTC) #3
stefan-webrtc
A first pass. Adding kjellander@ for .gn and .gyp review. https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode120 ...
4 years, 3 months ago (2016-09-01 14:07:36 UTC) #5
Gaetano Carlucci
I will take into account these issues. Thanks https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode120 webrtc/modules/congestion_controller/delay_based_bwe.cc:120: estimator_->Update(t_delta, ...
4 years, 3 months ago (2016-09-01 16:06:27 UTC) #6
kjellander_webrtc
We still need to maintain GYP for the production code a little longer, so please ...
4 years, 3 months ago (2016-09-01 19:32:35 UTC) #7
Gaetano Carlucci
https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/bitrate_controller/BUILD.gn File webrtc/modules/bitrate_controller/BUILD.gn (right): https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/bitrate_controller/BUILD.gn#newcode13 webrtc/modules/bitrate_controller/BUILD.gn:13: "../remote_bitrate_estimator/test/bwe_test_logging.h", On 2016/09/01 19:32:35, kjellander_webrtc wrote: > Referencing sources ...
4 years, 3 months ago (2016-09-02 10:37:21 UTC) #8
stefan-webrtc
https://codereview.chromium.org/2296253002/diff/40001/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc File webrtc/modules/remote_bitrate_estimator/overuse_detector.cc (right): https://codereview.chromium.org/2296253002/diff/40001/webrtc/modules/remote_bitrate_estimator/overuse_detector.cc#newcode98 webrtc/modules/remote_bitrate_estimator/overuse_detector.cc:98: BWE_TEST_LOGGING_PLOT(1, "gamma[ms]", now_ms, threshold_/kMinNumDeltas); Add spaces around / https://codereview.chromium.org/2296253002/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc ...
4 years, 3 months ago (2016-09-02 11:13:04 UTC) #9
kjellander_webrtc
I'm still missing similar changes to the GYP targets. https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/bitrate_controller/BUILD.gn File webrtc/modules/bitrate_controller/BUILD.gn (right): https://codereview.chromium.org/2296253002/diff/20001/webrtc/modules/bitrate_controller/BUILD.gn#newcode13 webrtc/modules/bitrate_controller/BUILD.gn:13: ...
4 years, 3 months ago (2016-09-02 12:05:42 UTC) #10
Gaetano Carlucci
I have corrected the gn files and update gyp files accordingly.
4 years, 3 months ago (2016-09-06 14:24:23 UTC) #15
kjellander_webrtc
GN+GYP almost there, one thing missing (see comment). https://codereview.chromium.org/2296253002/diff/100001/webrtc/modules/remote_bitrate_estimator/BUILD.gn File webrtc/modules/remote_bitrate_estimator/BUILD.gn (right): https://codereview.chromium.org/2296253002/diff/100001/webrtc/modules/remote_bitrate_estimator/BUILD.gn#newcode1 webrtc/modules/remote_bitrate_estimator/BUILD.gn:1: # ...
4 years, 3 months ago (2016-09-07 06:21:50 UTC) #16
Gaetano Carlucci
remote_bitrate_estimator.gypi syncronized. Not sure which variable I should move to webrtc/build/common.gypi.
4 years, 3 months ago (2016-09-07 09:18:47 UTC) #17
kjellander_webrtc
https://codereview.chromium.org/2296253002/diff/120001/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi File webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi (right): https://codereview.chromium.org/2296253002/diff/120001/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi#newcode15 webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi:15: 'enable_bwe_test_logging%': 0, Please remove this. I thought when doing ...
4 years, 3 months ago (2016-09-07 09:22:02 UTC) #18
Gaetano Carlucci
Ok, removed.
4 years, 3 months ago (2016-09-07 09:43:58 UTC) #19
kjellander_webrtc
*.gn*,*.gyp*: lgtm
4 years, 3 months ago (2016-09-07 09:46:10 UTC) #20
stefan-webrtc
lgtm % nit https://codereview.webrtc.org/2296253002/diff/140001/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc File webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc (right): https://codereview.webrtc.org/2296253002/diff/140001/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc#newcode22 webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc:22: Remove this empty line.
4 years, 3 months ago (2016-09-13 08:19:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2296253002/200001
4 years, 3 months ago (2016-09-14 11:56:38 UTC) #44
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-14 12:04:40 UTC) #46
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 12:04:53 UTC) #48
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/52a57037219ef340772477ffcdf7c8d98dbc9b88
Cr-Commit-Position: refs/heads/master@{#14209}

Powered by Google App Engine
This is Rietveld 408576698