Searched refs:benchmark_func_t (Results 1 – 2 of 2) sorted by relevance
/bionic/benchmarks/ |
D | util.h | 27 typedef void (*benchmark_func_t) (void); typedef 31 extern std::map<std::string, std::pair<benchmark_func_t, std::string>> g_str_to_func; 33 static int __attribute__((unused)) EmplaceBenchmark(const std::string& fn_name, benchmark_func_t f… 41 … __attribute__((unused)) = EmplaceBenchmark(std::string(#n), reinterpret_cast<benchmark_func_t>(n)) 44 …tribute__((unused)) = EmplaceBenchmark(std::string(#n), reinterpret_cast<benchmark_func_t>(n), arg)
|
D | bionic_benchmarks.cpp | 86 std::map<std::string, std::pair<benchmark_func_t, std::string>> g_str_to_func; 216 void LockAndRun(benchmark::State& state, benchmark_func_t func_to_bench, int cpu_to_lock) { in LockAndRun() 388 benchmark_func_t benchmark_function = g_str_to_func.at(fn_name).first; in RegisterGoogleBenchmarks()
|