Skip to content

Commit 56e942a

Browse files
committed
fix(google_benchmark): dont start and stop valgrind twice
1 parent 5ef9067 commit 56e942a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

google_benchmark/src/benchmark_runner.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,8 @@ void BenchmarkRunner::DoOneRepetition() {
466466
manager.reset(new internal::ThreadManager(b.threads()));
467467
internal::ThreadTimer timer = internal::ThreadTimer::Create();
468468
b.Setup();
469-
measurement_start();
470469
State st = b.RunSimulation(codspeed::CodSpeed::getInstance(), &timer,
471470
manager.get(), nullptr, nullptr);
472-
measurement_stop();
473471
b.Teardown();
474472

475473
return;

0 commit comments

Comments
 (0)