Lines Matching refs:reports
79 const std::vector<BenchmarkReporter::Run>& reports) { in ComputeStats() argument
84 std::count_if(reports.begin(), reports.end(), in ComputeStats()
87 if (reports.size() - error_count < 2) { in ComputeStats()
98 real_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
99 cpu_accumulated_time_stat.reserve(reports.size()); in ComputeStats()
100 bytes_per_second_stat.reserve(reports.size()); in ComputeStats()
101 items_per_second_stat.reserve(reports.size()); in ComputeStats()
105 int64_t const run_iterations = reports.front().iterations; in ComputeStats()
112 for(Run const& r : reports) { in ComputeStats()
118 it->second.s.reserve(reports.size()); in ComputeStats()
126 for (Run const& run : reports) { in ComputeStats()
127 CHECK_EQ(reports[0].benchmark_name, run.benchmark_name); in ComputeStats()
143 std::string report_label = reports[0].report_label; in ComputeStats()
144 for (std::size_t i = 1; i < reports.size(); i++) { in ComputeStats()
145 if (reports[i].report_label != report_label) { in ComputeStats()
151 for(const auto& Stat : *reports[0].statistics) { in ComputeStats()
154 data.benchmark_name = reports[0].benchmark_name + "_" + Stat.name_; in ComputeStats()
163 data.time_unit = reports[0].time_unit; in ComputeStats()