Lines Matching defs:reports
88 const std::vector<BenchmarkReporter::Run>& reports) {
92 auto error_count = std::count_if(reports.begin(), reports.end(),
95 if (reports.size() - error_count < 2) {
104 real_accumulated_time_stat.reserve(reports.size());
105 cpu_accumulated_time_stat.reserve(reports.size());
109 const IterationCount run_iterations = reports.front().iterations;
116 for (Run const& r : reports) {
124 it->second.s.reserve(reports.size());
132 for (Run const& run : reports) {
133 BM_CHECK_EQ(reports[0].benchmark_name(), run.benchmark_name());
147 std::string report_label = reports[0].report_label;
148 for (std::size_t i = 1; i < reports.size(); i++) {
149 if (reports[i].report_label != report_label) {
156 double(reports.size()) / double(run_iterations);
158 for (const auto& Stat : *reports[0].statistics) {
161 data.run_name = reports[0].run_name;
162 data.family_index = reports[0].family_index;
163 data.per_family_instance_index = reports[0].per_family_instance_index;
165 data.threads = reports[0].threads;
166 data.repetitions = reports[0].repetitions;
176 // Thus it is best to simply use the count of separate reports.
177 data.iterations = reports.size();
192 data.time_unit = reports[0].time_unit;