Lines Matching refs:perc_
159 if (bin_idx > 0 && data.perc_[bin_idx] == data.perc_[bin_idx - 1]) { in PrintBins()
164 << data.perc_[bin_idx] * 100.0 << "%\n"; in PrintBins()
206 out_data->perc_.clear(); in CreateHistogram()
209 out_data->perc_.push_back(0.0); in CreateHistogram()
213 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_)); in CreateHistogram()
216 DCHECK_LE(std::abs(out_data->perc_.back() - 1.0), 0.001); in CreateHistogram()
226 DCHECK_GT(data.perc_.size(), 0ull); in Percentile()
228 for (size_t idx = 0; idx < data.perc_.size(); idx++) { in Percentile()
229 if (per <= data.perc_[idx]) { in Percentile()
234 if (per >= data.perc_[idx] && idx != 0 && data.perc_[idx] != data.perc_[idx - 1]) { in Percentile()
239 const double lower_perc = data.perc_[lower_idx]; in Percentile()
245 const double upper_perc = data.perc_[upper_idx]; in Percentile()