Home
last modified time | relevance | path

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

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