Lines Matching refs:frequency_
72 if (frequency_.size() >= max_buckets_) { in GrowBuckets()
73 CHECK_ALIGNED(frequency_.size(), 2); in GrowBuckets()
76 const size_t limit = frequency_.size() / 2; in GrowBuckets()
79 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1]; in GrowBuckets()
82 while (frequency_.size() > limit) { in GrowBuckets()
83 frequency_.pop_back(); in GrowBuckets()
87 frequency_.push_back(0); in GrowBuckets()
108 ++frequency_[FindBucket(val)]; in BucketiseValue()
115 frequency_.push_back(0); in Initialize()
122 return frequency_.size(); in GetBucketCount()
132 frequency_.clear(); in Reset()
176 for (size_t bin_idx = 0; bin_idx < frequency_.size(); ++bin_idx) { in DumpBins()
177 if (frequency_[bin_idx] != 0U) { in DumpBins()
184 os << GetRange(bin_idx) << ":" << frequency_[bin_idx]; in DumpBins()
225 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram()
226 accumulated += frequency_[idx]; in CreateHistogram()