Lines Matching refs:reports
154 const std::vector<BenchmarkReporter::Run>& reports) { in ComputeStats() argument
159 std::count_if(reports.begin(), reports.end(), in ComputeStats()
162 if (reports.size() - error_count < 2) { in ComputeStats()
173 int64_t const run_iterations = reports.front().iterations; in ComputeStats()
180 for(Run const& r : reports) { in ComputeStats()
192 for (Run const& run : reports) { in ComputeStats()
193 CHECK_EQ(reports[0].benchmark_name, run.benchmark_name); in ComputeStats()
212 mean_data.benchmark_name = reports[0].benchmark_name + "_mean"; in ComputeStats()
220 mean_data.time_unit = reports[0].time_unit; in ComputeStats()
228 mean_data.report_label = reports[0].report_label; in ComputeStats()
229 for (std::size_t i = 1; i < reports.size(); i++) { in ComputeStats()
230 if (reports[i].report_label != reports[0].report_label) { in ComputeStats()
237 stddev_data.benchmark_name = reports[0].benchmark_name + "_stddev"; in ComputeStats()
244 stddev_data.time_unit = reports[0].time_unit; in ComputeStats()
257 const std::vector<BenchmarkReporter::Run>& reports) { in ComputeBigO() argument
261 if (reports.size() < 2) return results; in ComputeBigO()
269 for (const Run& run : reports) { in ComputeBigO()
279 if (reports[0].complexity == oLambda) { in ComputeBigO()
280 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity_lambda); in ComputeBigO()
281 result_real = MinimalLeastSq(n, real_time, reports[0].complexity_lambda); in ComputeBigO()
283 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity); in ComputeBigO()
287 reports[0].benchmark_name.substr(0, reports[0].benchmark_name.find('/')); in ComputeBigO()
303 double multiplier = GetTimeUnitMultiplier(reports[0].time_unit); in ComputeBigO()
307 big_o.report_label = reports[0].report_label; in ComputeBigO()
317 rms.time_unit = reports[0].time_unit; in ComputeBigO()