Fixes #378 (hopefully). Unit tests for counters to follow.

The problem was that the call to Finish() the user counters was
lost in a big merge. If I had already written the tests for the
user counters, this would probably have been catched earlier.
This commit is contained in:
Joao Paulo Magalhaes 2017-04-27 13:16:49 +01:00
parent 27b3bd4dc4
commit 2d1a34626f

View File

@ -252,6 +252,7 @@ BenchmarkReporter::Run CreateRunReport(
report.complexity = b.complexity;
report.complexity_lambda = b.complexity_lambda;
report.counters = results.counters;
internal::Finish(&report.counters, seconds, b.threads);
}
return report;
}