Commit 2cf277b6 by Jean-Louis Leroy

Iterations declared as size_t but printf'ed as a long long. Make it a long long.

parent d49516bc
......@@ -49,7 +49,7 @@ class BenchmarkReporter {
std::string benchmark_name;
std::string report_label; // Empty if not set by benchmark.
size_t iterations;
int64_t iterations;
double real_accumulated_time;
double cpu_accumulated_time;
......
......@@ -33,7 +33,7 @@ void BenchmarkReporter::ComputeStats(
Stat1_d items_per_second_stat;
// All repetitions should be run with the same number of iterations so we
// can take this information from the first benchmark.
std::size_t const run_iterations = reports.front().iterations;
int64_t const run_iterations = reports.front().iterations;
// Populate the accumulators.
for (Run const& run : reports) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment