Searched refs:draining_rate (Results 1 – 4 of 4) sorted by relevance
24 QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); in TEST_F() local25 leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); in TEST_F()57 QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); in TEST_F() local58 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()
11 LeakyBucket::LeakyBucket(QuicBandwidth draining_rate) in LeakyBucket() argument14 draining_rate_(draining_rate) { in LeakyBucket()17 void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) { in SetDrainingRate() argument19 draining_rate_ = draining_rate; in SetDrainingRate()
24 explicit LeakyBucket(QuicBandwidth draining_rate);27 void SetDrainingRate(QuicTime now, QuicBandwidth draining_rate);
401 QuicBandwidth draining_rate = back_down_bandwidth_.Scale(fraction_of_rate); in EstimateNewBandwidthAfterDraining() local404 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()