Lines Matching refs:frequency_
69 if (frequency_.size() >= max_buckets_) { in GrowBuckets()
70 CHECK_ALIGNED(frequency_.size(), 2); in GrowBuckets()
73 const size_t limit = frequency_.size() / 2; in GrowBuckets()
76 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1]; in GrowBuckets()
79 while (frequency_.size() > limit) { in GrowBuckets()
80 frequency_.pop_back(); in GrowBuckets()
84 frequency_.push_back(0); in GrowBuckets()
105 ++frequency_[FindBucket(val)]; in BucketiseValue()
112 frequency_.push_back(0); in Initialize()
119 return frequency_.size(); in GetBucketCount()
129 frequency_.clear(); in Reset()
173 for (size_t bin_idx = 0; bin_idx < frequency_.size(); ++bin_idx) { in DumpBins()
174 if (frequency_[bin_idx] != 0U) { in DumpBins()
181 os << GetRange(bin_idx) << ":" << frequency_[bin_idx]; in DumpBins()
218 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram()
219 accumulated += frequency_[idx]; in CreateHistogram()