//----------------------------------------------------------------------------- // medir-nulo-gb.cc //----------------------------------------------------------------------------- #include "nulo.h" #include //----------------------------------------------------------------------------- template void test(benchmark::State &state) { for (auto _ : state) f(); } //----------------------------------------------------------------------------- BENCHMARK_TEMPLATE(test, usuario); BENCHMARK_TEMPLATE(test, nucleo); BENCHMARK_TEMPLATE(test, proceso); //----------------------------------------------------------------------------- BENCHMARK_MAIN(); //-----------------------------------------------------------------------------