Searched refs:bucket_milliseconds_ (Results 1 – 2 of 2) sorted by relevance
23 : bucket_milliseconds_(bucket_milliseconds), in RateTracker()46 bucket_milliseconds_ * static_cast<uint32_t>(bucket_count_)); in ComputeRateForInterval()57 static_cast<uint32_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()77 (bucket_milliseconds_ - milliseconds_to_skip)) + in ComputeRateForInterval()78 (bucket_milliseconds_ >> 1)) / in ComputeRateForInterval()79 bucket_milliseconds_; in ComputeRateForInterval()114 current_time >= bucket_start_time_milliseconds_ + bucket_milliseconds_; in AddSamples()116 bucket_start_time_milliseconds_ += bucket_milliseconds_; in AddSamples()[all …]
35 return ComputeRateForInterval(bucket_milliseconds_ * in ComputeRate()58 const uint32_t bucket_milliseconds_; variable