Home
last modified time | relevance | path

Searched refs:bucket_index (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/metrics/
Dsample_vector.cc43 size_t bucket_index = GetBucketIndex(value); in Accumulate() local
44 subtle::NoBarrier_Store(&counts_[bucket_index], in Accumulate()
45 subtle::NoBarrier_Load(&counts_[bucket_index]) + count); in Accumulate()
51 size_t bucket_index = GetBucketIndex(value); in GetCount() local
52 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCount()
63 Count SampleVector::GetCountAtIndex(size_t bucket_index) const { in GetCountAtIndex()
64 DCHECK(bucket_index < counts_size_); in GetCountAtIndex()
65 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCountAtIndex()
Dhistogram.cc169 size_t bucket_index = 1; in InitializeBucketRanges() local
171 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
173 while (bucket_count > ++bucket_index) { in InitializeBucketRanges()
177 log_ratio = (log_max - log_current) / (bucket_count - bucket_index); in InitializeBucketRanges()
186 ranges->set_range(bucket_index, current); in InitializeBucketRanges()
Dsample_vector.h46 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
/external/webrtc/webrtc/base/
Dratetracker.cc144 size_t RateTracker::NextBucketIndex(size_t bucket_index) const { in NextBucketIndex()
145 return (bucket_index + 1u) % (bucket_count_ + 1u); in NextBucketIndex()
Dratetracker.h56 size_t NextBucketIndex(size_t bucket_index) const;