Lines Matching refs:reports
88 const std::vector<BenchmarkReporter::Run>& reports) { in ComputeStats() argument
93 std::count_if(reports.begin(), reports.end(), in ComputeStats()
96 if (reports.size() - error_count < 2) { in ComputeStats()
105 real_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
106 cpu_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
110 const IterationCount run_iterations = reports.front().iterations; in ComputeStats()
117 for (Run const& r : reports) { in ComputeStats()
123 it->second.s.reserve(reports.size()); in ComputeStats()
131 for (Run const& run : reports) { in ComputeStats()
132 BM_CHECK_EQ(reports[0].benchmark_name(), run.benchmark_name()); in ComputeStats()
146 std::string report_label = reports[0].report_label; in ComputeStats()
147 for (std::size_t i = 1; i < reports.size(); i++) { in ComputeStats()
148 if (reports[i].report_label != report_label) { in ComputeStats()
155 double(reports.size()) / double(run_iterations); in ComputeStats()
157 for (const auto& Stat : *reports[0].statistics) { in ComputeStats()
160 data.run_name = reports[0].run_name; in ComputeStats()
161 data.family_index = reports[0].family_index; in ComputeStats()
162 data.per_family_instance_index = reports[0].per_family_instance_index; in ComputeStats()
164 data.threads = reports[0].threads; in ComputeStats()
165 data.repetitions = reports[0].repetitions; in ComputeStats()
176 data.iterations = reports.size(); in ComputeStats()
191 data.time_unit = reports[0].time_unit; in ComputeStats()