forked from crosswalk-project/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delay amortizing overhead that isn't reflected in pre-amortization bytes
This CL changes the TrafficStatsAmortizer from ignoring overhead that isn't reflected in any pre-amortization bytes, and instead defers that overhead to the next amortization run so that the next amortization run can try to include the overhead. This fixes an issue where the TrafficStatsAmortizer would ignore overhead seen by TrafficStats but hadn't yet been reported by the network stack, which would happen often on slow networks. BUG=556836 Review URL: https://codereview.chromium.org/1453193003 Cr-Commit-Position: refs/heads/master@{#360277}
- Loading branch information
1 parent
d20a1a9
commit 99df59d
Showing
2 changed files
with
77 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters