Lines Matching refs:reports
78 const std::vector<BenchmarkReporter::Run>& reports) { in ComputeStats() argument
83 std::count_if(reports.begin(), reports.end(), in ComputeStats()
86 if (reports.size() - error_count < 2) { in ComputeStats()
95 real_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
96 cpu_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
100 const IterationCount run_iterations = reports.front().iterations; in ComputeStats()
107 for (Run const& r : reports) { in ComputeStats()
113 it->second.s.reserve(reports.size()); in ComputeStats()
121 for (Run const& run : reports) { in ComputeStats()
122 CHECK_EQ(reports[0].benchmark_name(), run.benchmark_name()); in ComputeStats()
136 std::string report_label = reports[0].report_label; in ComputeStats()
137 for (std::size_t i = 1; i < reports.size(); i++) { in ComputeStats()
138 if (reports[i].report_label != report_label) { in ComputeStats()
145 double(reports.size()) / double(run_iterations); in ComputeStats()
147 for (const auto& Stat : *reports[0].statistics) { in ComputeStats()
150 data.run_name = reports[0].run_name; in ComputeStats()
152 data.threads = reports[0].threads; in ComputeStats()
153 data.repetitions = reports[0].repetitions; in ComputeStats()
163 data.iterations = reports.size(); in ComputeStats()
176 data.time_unit = reports[0].time_unit; in ComputeStats()