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

Issue 2239143002: ProbingEstimator: Erase history based on time threshold (Closed)

Created:
4 years, 4 months ago by Irfan
Modified:
4 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

ProbingEstimator: Erase history based on time threshold Erases history based on time threshold instead of retaining really old cluster data. Also does a bunch of clean up. BUG= R=danilchap@webrtc.org, philipel@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/f99a9de06948494b2708a5accb6a5667a000926c Cr-Commit-Position: refs/heads/master@{#13870}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Improvements #

Total comments: 8

Patch Set 3 : Address nits #

Total comments: 9

Patch Set 4 : Reduced cluster history to 1s #

Total comments: 20

Patch Set 5 : Addressed feedback #

Total comments: 2

Patch Set 6 : Addressed comment #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -77 lines) Patch
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_bitrate_estimator.h View 1 2 3 4 2 chunks +6 lines, -16 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_bitrate_estimator.cc View 1 2 3 4 5 chunks +31 lines, -35 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc View 1 2 3 4 5 9 chunks +20 lines, -22 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
Irfan
PTAL. Splitting up the changes into small chunks. This one adds some enhancements to enable ...
4 years, 4 months ago (2016-08-11 23:16:06 UTC) #4
philipel
The purpose of the ProbeBitrateEstimator class is to keep track of feedback received relevant to ...
4 years, 4 months ago (2016-08-12 13:51:42 UTC) #7
Irfan
PTAL. I have also simplified the tests a bit.
4 years, 4 months ago (2016-08-12 19:40:09 UTC) #8
stefan-webrtc
https://codereview.chromium.org/2239143002/diff/20001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.chromium.org/2239143002/diff/20001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode31 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:31: // on the side side as well as the ...
4 years, 4 months ago (2016-08-13 10:05:11 UTC) #9
Irfan
https://codereview.chromium.org/2239143002/diff/20001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.chromium.org/2239143002/diff/20001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode31 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:31: // on the side side as well as the ...
4 years, 4 months ago (2016-08-15 07:00:07 UTC) #10
philipel
https://codereview.webrtc.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.webrtc.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode61 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:61: ++valid_clusters_; At this point we don't know if this ...
4 years, 4 months ago (2016-08-16 15:21:07 UTC) #11
Irfan
https://codereview.chromium.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.chromium.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode28 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:28: constexpr int kMaxClusterHistoryInMs = 5000; This may be to ...
4 years, 4 months ago (2016-08-16 17:02:10 UTC) #12
Irfan
Ping ?
4 years, 4 months ago (2016-08-18 20:33:39 UTC) #14
stefan-webrtc
From my point of view this lgtm. But please get an lg from philip before ...
4 years, 4 months ago (2016-08-18 20:38:25 UTC) #15
danilchap
https://codereview.webrtc.org/2239143002/diff/60001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.webrtc.org/2239143002/diff/60001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode28 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:28: constexpr int kMaxClusterHistoryInMs = 1000; maybe kMaxClusterHistoryMs (i.e. drop ...
4 years, 4 months ago (2016-08-19 11:46:31 UTC) #16
philipel
https://codereview.webrtc.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.webrtc.org/2239143002/diff/40001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode61 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:61: ++valid_clusters_; On 2016/08/16 17:02:10, Irfan wrote: > On 2016/08/16 ...
4 years, 4 months ago (2016-08-19 13:41:31 UTC) #17
Irfan
https://codereview.webrtc.org/2239143002/diff/60001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator.cc (right): https://codereview.webrtc.org/2239143002/diff/60001/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc#newcode28 webrtc/modules/congestion_controller/probe_bitrate_estimator.cc:28: constexpr int kMaxClusterHistoryInMs = 1000; On 2016/08/19 11:46:30, danilchap ...
4 years, 4 months ago (2016-08-22 18:11:17 UTC) #18
Irfan
PTAL. PS#5 is a simplified version and this CL now is mostly a clean up ...
4 years, 4 months ago (2016-08-22 18:16:30 UTC) #21
philipel
lgtm
4 years, 4 months ago (2016-08-23 09:38:38 UTC) #22
danilchap
lgtm https://codereview.webrtc.org/2239143002/diff/100001/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc (right): https://codereview.webrtc.org/2239143002/diff/100001/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc#newcode33 webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc:33: measured_bps_ = bps > 0 ? bps : ...
4 years, 4 months ago (2016-08-23 13:27:34 UTC) #23
Irfan
https://codereview.webrtc.org/2239143002/diff/100001/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc File webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc (right): https://codereview.webrtc.org/2239143002/diff/100001/webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc#newcode33 webrtc/modules/congestion_controller/probe_bitrate_estimator_unittest.cc:33: measured_bps_ = bps > 0 ? bps : 0; ...
4 years, 4 months ago (2016-08-23 17:27:27 UTC) #24
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/2239143002/140001
4 years, 4 months ago (2016-08-23 17:31:39 UTC) #27
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/f99a9de06948494b2708a5accb6a5667a000926c Cr-Commit-Position: refs/heads/master@{#13870}
4 years, 4 months ago (2016-08-23 21:23:18 UTC) #31
Irfan
4 years, 4 months ago (2016-08-23 21:23:19 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:140001) manually as
f99a9de06948494b2708a5accb6a5667a000926c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698