Home
last modified time | relevance | path

Searched refs:bucket_milliseconds_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/rtc_base/
Drate_tracker.cc23 : bucket_milliseconds_(bucket_milliseconds), in RateTracker()
46 bucket_milliseconds_ * static_cast<int64_t>(bucket_count_)); in ComputeRateForInterval()
57 static_cast<int64_t>(bucket_count_) * bucket_milliseconds_ - in ComputeRateForInterval()
59 buckets_to_skip = time_to_skip / bucket_milliseconds_; in ComputeRateForInterval()
60 milliseconds_to_skip = time_to_skip % bucket_milliseconds_; in ComputeRateForInterval()
67 if (available_interval_milliseconds < bucket_milliseconds_) { in ComputeRateForInterval()
80 (bucket_milliseconds_ - milliseconds_to_skip)) + in ComputeRateForInterval()
81 (bucket_milliseconds_ >> 1)) / in ComputeRateForInterval()
82 bucket_milliseconds_; in ComputeRateForInterval()
118 current_time >= bucket_start_time_milliseconds_ + bucket_milliseconds_; in AddSamples()
[all …]
Drate_tracker.h35 return ComputeRateForInterval(bucket_milliseconds_ * in ComputeRate()
58 const int64_t bucket_milliseconds_; variable