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

Issue 3010653002: Keep track of the capacity delay error in the FakeNetworkPipe. (Closed)

Created:
3 years, 3 months ago by philipel
Modified:
3 years, 2 months ago
Reviewers:
terelius, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Keep track of the capacity delay error in the FakeNetworkPipe. The FakeNetworkPipe use millisecond precision to calculate the delay induced by the size of the packet being sent. The problem is that it rounds the delay down to the closest millisecond which can cause a significant error in the actual throughput. We keep track of that error to compensate the delay cause by subsequent packets. BUG=webrtc:8287 Review-Url: https://codereview.webrtc.org/3010653002 Cr-Commit-Position: refs/heads/master@{#19732} Committed: https://chromium.googlesource.com/external/webrtc/+/19f51434e84589a8065fb9b20f059ff6b52dd853

Patch Set 1 #

Total comments: 2

Patch Set 2 : Feedback #

Patch Set 3 : Comment fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M webrtc/test/fake_network_pipe.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/test/fake_network_pipe.cc View 1 2 1 chunk +10 lines, -2 lines 1 comment Download

Messages

Total messages: 27 (16 generated)
philipel
3 years, 3 months ago (2017-08-29 14:29:29 UTC) #2
terelius
https://codereview.webrtc.org/3010653002/diff/1/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/3010653002/diff/1/webrtc/test/fake_network_pipe.cc#newcode138 webrtc/test/fake_network_pipe.cc:138: const int offset_bytes = config_.link_capacity_kbps / 8 / 2; ...
3 years, 3 months ago (2017-08-29 15:02:16 UTC) #7
philipel
https://codereview.webrtc.org/3010653002/diff/1/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/3010653002/diff/1/webrtc/test/fake_network_pipe.cc#newcode136 webrtc/test/fake_network_pipe.cc:136: // To round to closest millisecond we add half ...
3 years, 3 months ago (2017-08-30 09:00:42 UTC) #9
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/3010653002/40001
3 years, 3 months ago (2017-09-04 11:24:09 UTC) #14
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 3 months ago (2017-09-04 11:24:11 UTC) #16
philipel
PTAL
3 years, 3 months ago (2017-09-04 11:50:55 UTC) #18
terelius
lgtm https://codereview.webrtc.org/3010653002/diff/40001/webrtc/test/fake_network_pipe.cc File webrtc/test/fake_network_pipe.cc (right): https://codereview.webrtc.org/3010653002/diff/40001/webrtc/test/fake_network_pipe.cc#newcode136 webrtc/test/fake_network_pipe.cc:136: const int bytes_per_millisecond = config_.link_capacity_kbps / 8; nit: ...
3 years, 3 months ago (2017-09-04 12:19:39 UTC) #19
philipel
ping
3 years, 3 months ago (2017-09-07 15:21:08 UTC) #20
stefan-webrtc
lgtm
3 years, 3 months ago (2017-09-07 15:34:34 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/3010653002/40001
3 years, 3 months ago (2017-09-07 15:35:34 UTC) #23
commit-bot: I haz the power
3 years, 3 months ago (2017-09-07 16:08:56 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/19f51434e84589a8065fb9b20...

Powered by Google App Engine
This is Rietveld 408576698