Home
last modified time | relevance | path

Searched refs:bucket_count_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/base/
Dratetracker.cc24 bucket_count_(bucket_count), in RateTracker()
46 bucket_milliseconds_ * static_cast<uint32_t>(bucket_count_)); in ComputeRateForInterval()
57 static_cast<uint32_t>(bucket_count_) * bucket_milliseconds_ - in ComputeRateForInterval()
62 buckets_to_skip = bucket_count_ - current_bucket_; in ComputeRateForInterval()
69 if (buckets_to_skip > bucket_count_ || in ComputeRateForInterval()
113 for (size_t i = 0u; i <= bucket_count_ && in AddSamples()
145 return (bucket_index + 1u) % (bucket_count_ + 1u); in NextBucketIndex()
Dratetracker.h36 static_cast<uint32_t>(bucket_count_)); in ComputeRate()
59 const size_t bucket_count_; variable
/external/libchrome/base/metrics/
Dhistogram.cc114 bucket_count_(bucket_count), in Factory()
119 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()
142 uint32_t bucket_count_; member in base::Histogram::Factory
162 if (bucket_count_ == 0) { in Build()
163 bucket_count_ = static_cast<uint32_t>(registered_ranges->bucket_count()); in Build()
165 maximum_ = registered_ranges->range(bucket_count_ - 1); in Build()
221 if (bucket_count_ != 0 && in Build()
222 !histogram->HasConstructionArguments(minimum_, maximum_, bucket_count_)) { in Build()
750 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()