Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Drate_tracker.cc24 bucket_count_(bucket_count), in RateTracker()
46 bucket_milliseconds_ * static_cast<int64_t>(bucket_count_)); in ComputeRateForInterval()
57 static_cast<int64_t>(bucket_count_) * bucket_milliseconds_ - in ComputeRateForInterval()
62 buckets_to_skip = bucket_count_ - current_bucket_; in ComputeRateForInterval()
73 if (buckets_to_skip > bucket_count_ || available_interval_milliseconds == 0) { in ComputeRateForInterval()
117 i <= bucket_count_ && in AddSamples()
150 return (bucket_index + 1u) % (bucket_count_ + 1u); in NextBucketIndex()
Drate_tracker.h36 static_cast<int64_t>(bucket_count_)); in ComputeRate()
59 const size_t bucket_count_; variable
/external/libchrome/base/metrics/
Dhistogram.cc123 bucket_count_(bucket_count), in Factory()
128 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()
152 uint32_t bucket_count_; member in base::Histogram::Factory
178 if (bucket_count_ == 0) { in Build()
179 bucket_count_ = static_cast<uint32_t>(registered_ranges->bucket_count()); in Build()
181 maximum_ = registered_ranges->range(bucket_count_ - 1); in Build()
184 DCHECK_EQ(maximum_, registered_ranges->range(bucket_count_ - 1)); in Build()
233 (bucket_count_ != 0 && !histogram->HasConstructionArguments( in Build()
234 minimum_, maximum_, bucket_count_))) { in Build()
832 BucketRanges* ranges = new BucketRanges(bucket_count_ + 1); in CreateRanges()