1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-17 23:12:30 +08:00

Merge branch 'new-api' into api-merge

This commit is contained in:
Eric Fiselier 2015-02-18 17:09:31 -05:00
commit e77d36c95d

View File

@ -553,7 +553,7 @@ void RunBenchmark(const benchmark::Benchmark::Instance& b,
Notification done;
timer_manager = new TimerManager(b.threads, &done);
ThreadStats total;
ThreadStats total{0, 0};
running_benchmark = true;
if (b.multithreaded) {
// If this is out first iteration of the while(true) loop then the