mirror of
https://github.com/google/benchmark.git
synced 2025-01-31 06:10:14 +08:00
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:
parent
27b3bd4dc4
commit
2d1a34626f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user