Home
last modified time | relevance | path

Searched refs:bucket_idx (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/
Dhistogram-inl.h99 const size_t bucket_idx = static_cast<size_t>((val - min_) / bucket_width_); in FindBucket() local
100 DCHECK_GE(bucket_idx, 0ul); in FindBucket()
101 DCHECK_LE(bucket_idx, GetBucketCount()); in FindBucket()
102 return bucket_idx; in FindBucket()
139 template <class Value> inline Value Histogram<Value>::GetRange(size_t bucket_idx) const { in GetRange() argument
140 DCHECK_LE(bucket_idx, GetBucketCount()); in GetRange()
141 return min_ + bucket_idx * bucket_width_; in GetRange()
Dhistogram.h68 Value GetRange(size_t bucket_idx) const;