merge new changes in basic_test.cc

This commit is contained in:
Eric Fiselier 2015-03-27 16:37:53 -04:00
parent 9ed1082c33
commit 9d47552020
1 changed files with 2 additions and 10 deletions

View File

@ -61,16 +61,8 @@ void BM_pause_during(benchmark::State& state) {
}
BENCHMARK(BM_pause_during);
BENCHMARK(BM_pause_during)->ThreadPerCpu();
void BM_pause_during_realtime(benchmark::State& state) {
state.UseRealTime();
while(state.KeepRunning()) {
state.PauseTiming();
state.ResumeTiming();
}
}
BENCHMARK(BM_pause_during_realtime);
BENCHMARK(BM_pause_during_realtime)->ThreadPerCpu();
BENCHMARK(BM_pause_during)->UseRealTime();
BENCHMARK(BM_pause_during)->UseRealTime()->ThreadPerCpu();
void BM_spin_pause_after(benchmark::State& state) {
while(state.KeepRunning()) {