Lines Matching refs:benchmark
11 class TestReporter : public benchmark::ConsoleReporter {
29 typedef benchmark::BenchmarkReporter::Run Run;
60 typedef benchmark::internal::Benchmark* ReturnVal;
65 void BM_function(benchmark::State& state) { in BM_function()
70 ReturnVal dummy = benchmark::RegisterBenchmark(
81 void BM_extra_args(benchmark::State& st, const char* label) { in BM_extra_args()
90 benchmark::RegisterBenchmark(c.first, &BM_extra_args, c.second); in RegisterFromFunction()
103 void operator()(benchmark::State& st) { in operator ()()
113 benchmark::RegisterBenchmark("custom_fixture", fx); in TestRegistrationAtRuntime()
120 auto capturing_lam = [=](benchmark::State& st) { in TestRegistrationAtRuntime()
125 benchmark::RegisterBenchmark("lambda_benchmark", capturing_lam); in TestRegistrationAtRuntime()
137 benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestOne()
139 typedef benchmark::BenchmarkReporter::Run Run; in RunTestOne()
157 benchmark::ClearRegisteredBenchmarks(); in RunTestTwo()
160 size_t num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestTwo()
165 num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestTwo()
168 typedef benchmark::BenchmarkReporter::Run Run; in RunTestTwo()
180 benchmark::Initialize(&argc, argv); in main()