Searched refs:LeakyBucket (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/net/quic/congestion_control/
H A Dleaky_bucket.cc11 LeakyBucket::LeakyBucket(QuicBandwidth draining_rate) function in class:net::LeakyBucket
17 void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) {
22 void LeakyBucket::Add(QuicTime now, QuicByteCount bytes) {
27 QuicTime::Delta LeakyBucket::TimeRemaining(QuicTime now) const {
38 QuicByteCount LeakyBucket::BytesPending(QuicTime now) {
43 void LeakyBucket::Update(QuicTime now) {
H A Dleaky_bucket.h21 class NET_EXPORT_PRIVATE LeakyBucket { class in namespace:net
23 explicit LeakyBucket(QuicBandwidth draining_rate);
44 DISALLOW_COPY_AND_ASSIGN(LeakyBucket);
H A Dfix_rate_sender.h59 LeakyBucket fix_rate_leaky_bucket_;
H A Dleaky_bucket_test.cc17 leaky_bucket_.reset(new LeakyBucket(QuicBandwidth::Zero()));
20 scoped_ptr<LeakyBucket> leaky_bucket_;
/external/chromium_org/jingle/glue/
H A Dpseudotcp_adapter_unittest.cc42 class LeakyBucket : public RateLimiter { class in namespace:jingle_glue::__anon7987
45 LeakyBucket(double volume, double rate) function in class:jingle_glue::__anon7987::LeakyBucket
52 virtual ~LeakyBucket() { }
350 LeakyBucket host_limiter(kBurstPackets, kPacketsPerSecond);
354 LeakyBucket client_limiter(kBurstPackets, kPacketsPerSecond);

Completed in 94 milliseconds