Lines Matching refs:frequency_
64 if (frequency_.size() >= max_buckets_) { in GrowBuckets()
65 CHECK(IsAligned<2>(frequency_.size())); in GrowBuckets()
68 const size_t limit = frequency_.size() / 2; in GrowBuckets()
71 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1]; in GrowBuckets()
74 while (frequency_.size() > limit) { in GrowBuckets()
75 frequency_.pop_back(); in GrowBuckets()
79 frequency_.push_back(0); in GrowBuckets()
100 ++frequency_[FindBucket(val)]; in BucketiseValue()
107 frequency_.push_back(0); in Initialize()
114 return frequency_.size(); in GetBucketCount()
124 frequency_.clear(); in Reset()
189 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram()
190 accumulated += frequency_[idx]; in CreateHistogram()