encfs/vendor/github.com/google/benchmark/test/link_main_test.cc
2020-02-28 21:12:38 +01:00

9 lines
177 B
C++

#include "benchmark/benchmark.h"
void BM_empty(benchmark::State& state) {
for (auto _ : state) {
benchmark::DoNotOptimize(state.iterations());
}
}
BENCHMARK(BM_empty);