Home
last modified time | relevance | path

Searched refs:bucket_ranges_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/base/metrics/
Dsample_vector.cc19 bucket_ranges_(bucket_ranges) { in SampleVector()
20 CHECK_GE(bucket_ranges_->bucket_count(), 1u); in SampleVector()
53 new SampleVectorIterator(&counts_, bucket_ranges_)); in Iterator()
66 if (min == bucket_ranges_->range(index) && in AddSubtractImpl()
67 max == bucket_ranges_->range(index + 1)) { in AddSubtractImpl()
74 } else if (min > bucket_ranges_->range(index)) { in AddSubtractImpl()
90 size_t bucket_count = bucket_ranges_->bucket_count(); in GetBucketIndex()
92 CHECK_GE(value, bucket_ranges_->range(0)); in GetBucketIndex()
93 CHECK_LT(value, bucket_ranges_->range(bucket_count)); in GetBucketIndex()
103 if (bucket_ranges_->range(mid) <= value) in GetBucketIndex()
[all …]
Dsample_vector.h52 const BucketRanges* const bucket_ranges_; variable
77 const BucketRanges* bucket_ranges_; variable
Dhistogram.h371 const BucketRanges* bucket_ranges() const { return bucket_ranges_; } in bucket_ranges()
468 const BucketRanges* bucket_ranges_; variable
Dhistogram.cc210 return bucket_ranges_->range(i); in ranges()
214 return bucket_ranges_->bucket_count(); in bucket_count()
308 bucket_ranges_(ranges), in Histogram()