Lines Matching refs:data
96 // We don't report aggregated data if there was a single run.
159 // Get the data from the accumulator to BenchmarkReporter::Run's.
160 Run data;
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;
164 data.run_type = BenchmarkReporter::Run::RT_Aggregate;
165 data.threads = reports[0].threads;
166 data.repetitions = reports[0].repetitions;
167 data.repetition_index = Run::no_repetition_index;
168 data.aggregate_name = Stat.name_;
169 data.aggregate_unit = Stat.unit_;
170 data.report_label = report_label;
177 data.iterations = reports.size();
179 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat);
180 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat);
182 if (data.aggregate_unit == StatisticUnit::kTime) {
183 // We will divide these times by data.iterations when reporting, but the
184 // data.iterations is not necessarily the scale of these measurements,
188 data.real_accumulated_time *= iteration_rescale_factor;
189 data.cpu_accumulated_time *= iteration_rescale_factor;
192 data.time_unit = reports[0].time_unit;
200 data.counters[kv.first] = c;
203 results.push_back(data);