Home
last modified time | relevance | path

Searched refs:perc_ (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/
Dhistogram-inl.h166 if (bin_idx > 0 && data.perc_[bin_idx] == data.perc_[bin_idx - 1]) { in PrintBins()
171 << data.perc_[bin_idx] * 100.0 << "%\n"; in PrintBins()
224 out_data->perc_.clear(); in CreateHistogram()
227 out_data->perc_.push_back(0.0); in CreateHistogram()
231 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_)); in CreateHistogram()
234 DCHECK_LE(std::abs(out_data->perc_.back() - 1.0), 0.001); in CreateHistogram()
242 DCHECK_GT(data.perc_.size(), 0ull); in Percentile()
244 for (size_t idx = 0; idx < data.perc_.size(); idx++) { in Percentile()
245 if (per <= data.perc_[idx]) { in Percentile()
250 if (per >= data.perc_[idx] && idx != 0 && data.perc_[idx] != data.perc_[idx - 1]) { in Percentile()
[all …]
Dhistogram.h39 std::vector<double> perc_; variable