mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 05:40:15 +08:00
remove unneeded test repetitions
This commit is contained in:
parent
d0df7ef2de
commit
be993acbb3
@ -65,8 +65,8 @@ void BM_pause_during(benchmark::State& state) {
|
||||
state.ResumeTiming();
|
||||
}
|
||||
}
|
||||
BASIC_BENCHMARK_TEST(BM_pause_during);
|
||||
BASIC_BENCHMARK_TEST(BM_pause_during)->ThreadPerCpu();
|
||||
BENCHMARK_TEST(BM_pause_during);
|
||||
BENCHMARK_TEST(BM_pause_during)->ThreadPerCpu();
|
||||
|
||||
void BM_pause_during_realtime(benchmark::State& state) {
|
||||
state.UseRealTime();
|
||||
@ -75,8 +75,8 @@ void BM_pause_during_realtime(benchmark::State& state) {
|
||||
state.ResumeTiming();
|
||||
}
|
||||
}
|
||||
BASIC_BENCHMARK_TEST(BM_pause_during_realtime);
|
||||
BASIC_BENCHMARK_TEST(BM_pause_during_realtime)->ThreadPerCpu();
|
||||
BENCHMARK_TEST(BM_pause_during_realtime);
|
||||
BENCHMARK_TEST(BM_pause_during_realtime)->ThreadPerCpu();
|
||||
|
||||
void BM_spin_pause_after(benchmark::State& state) {
|
||||
while(state.KeepRunning()) {
|
||||
|
Loading…
Reference in New Issue
Block a user