Home
last modified time | relevance | path

Searched refs:draining_rate (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/quic/congestion_control/
Dleaky_bucket_test.cc24 QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); in TEST_F() local
25 leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); in TEST_F()
57 QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); in TEST_F() local
58 leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); in TEST_F()
67 draining_rate = draining_rate.Scale(0.5f); // Cut drain rate in half. in TEST_F()
68 leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); in TEST_F()
Dleaky_bucket.cc11 LeakyBucket::LeakyBucket(QuicBandwidth draining_rate) in LeakyBucket() argument
14 draining_rate_(draining_rate) { in LeakyBucket()
17 void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) { in SetDrainingRate() argument
19 draining_rate_ = draining_rate; in SetDrainingRate()
Dleaky_bucket.h24 explicit LeakyBucket(QuicBandwidth draining_rate);
27 void SetDrainingRate(QuicTime now, QuicBandwidth draining_rate);
Dinter_arrival_sender.cc401 QuicBandwidth draining_rate = back_down_bandwidth_.Scale(fraction_of_rate); in EstimateNewBandwidthAfterDraining() local
404 if (draining_rate > max_estimated_draining_rate) { in EstimateNewBandwidthAfterDraining()
411 current_bandwidth_.Add(draining_rate).Scale( in EstimateNewBandwidthAfterDraining()
416 << draining_rate.ToKBitsPerSecond() << " Kbits/s " in EstimateNewBandwidthAfterDraining()