Home
last modified time | relevance | path

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

/art/runtime/base/
Dhistogram-inl.h182 inline void Histogram<Value>::CreateHistogram(CumulativeData* out_data) const { in CreateHistogram() argument
184 out_data->freq_.clear(); in CreateHistogram()
185 out_data->perc_.clear(); in CreateHistogram()
187 out_data->freq_.push_back(accumulated); in CreateHistogram()
188 out_data->perc_.push_back(0.0); in CreateHistogram()
191 out_data->freq_.push_back(accumulated); in CreateHistogram()
192 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_)); in CreateHistogram()
194 DCHECK_EQ(out_data->freq_.back(), sample_size_); in CreateHistogram()
195 DCHECK_LE(std::abs(out_data->perc_.back() - 1.0), 0.001); in CreateHistogram()