You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
271 B

#include <benchmark/benchmark.h>
#include <cpuinfo.h>
static void cpuinfo_initialize(benchmark::State& state) {
while (state.KeepRunning()) {
cpuinfo_initialize();
}
}
BENCHMARK(cpuinfo_initialize)->Iterations(1)->Unit(benchmark::kMillisecond);
BENCHMARK_MAIN();