2018-05-25 10:18:58 +00:00
|
|
|
#include "benchmark/benchmark.h"
|
|
|
|
|
|
|
|
void BM_empty(benchmark::State& state) {
|
|
|
|
for (auto _ : state) {
|
2023-03-06 14:47:54 +00:00
|
|
|
auto iterations = state.iterations();
|
|
|
|
benchmark::DoNotOptimize(iterations);
|
2018-05-25 10:18:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
BENCHMARK(BM_empty);
|