Minor cleanup to BandwidthMeter/DefaultBandwidthMeter
- Improve variable naming - In the edge case that bytes are transferred in a sample that has 0 elapsed time, carry the bytes forward into the next sample. If we don't do this then the estimate will be calculated as though those bytes were never transferred. In practice I suspect this very rarely occurs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218551208
Showing
with
18 additions
and
15 deletions
Please
register
or
sign in
to comment