Lines Matching refs:frequency_
74 DCHECK_LE(frequency_.size(), max_buckets_); in GrowBuckets()
75 if (frequency_.size() == max_buckets_) { in GrowBuckets()
76 DCHECK_EQ(frequency_.size() % 2, 0u); in GrowBuckets()
79 const size_t limit = frequency_.size() / 2; in GrowBuckets()
82 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1]; in GrowBuckets()
85 while (frequency_.size() > limit) { in GrowBuckets()
86 frequency_.pop_back(); in GrowBuckets()
90 frequency_.push_back(0); in GrowBuckets()
111 ++frequency_[FindBucket(val)]; in BucketiseValue()
118 frequency_.push_back(0); in Initialize()
125 return frequency_.size(); in GetBucketCount()
135 frequency_.clear(); in Reset()
179 for (size_t bin_idx = 0; bin_idx < frequency_.size(); ++bin_idx) { in DumpBins()
180 if (frequency_[bin_idx] != 0U) { in DumpBins()
187 os << GetRange(bin_idx) << ":" << frequency_[bin_idx]; in DumpBins()
228 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram()
229 accumulated += frequency_[idx]; in CreateHistogram()