Lines Matching refs:benchmark
11 class TestReporter : public benchmark::ConsoleReporter {
29 typedef benchmark::BenchmarkReporter::Run Run;
58 typedef benchmark::internal::Benchmark* ReturnVal;
63 void BM_function(benchmark::State& state) { in BM_function()
68 ReturnVal dummy = benchmark::RegisterBenchmark(
79 void BM_extra_args(benchmark::State& st, const char* label) { in BM_extra_args()
88 benchmark::RegisterBenchmark(c.first, &BM_extra_args, c.second); in RegisterFromFunction()
101 void operator()(benchmark::State& st) { in operator ()()
111 benchmark::RegisterBenchmark("custom_fixture", fx); in TestRegistrationAtRuntime()
118 auto capturing_lam = [=](benchmark::State& st) { in TestRegistrationAtRuntime()
123 benchmark::RegisterBenchmark("lambda_benchmark", capturing_lam); in TestRegistrationAtRuntime()
135 benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestOne()
137 typedef benchmark::BenchmarkReporter::Run Run; in RunTestOne()
155 benchmark::ClearRegisteredBenchmarks(); in RunTestTwo()
158 size_t num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestTwo()
163 num_ran = benchmark::RunSpecifiedBenchmarks(&test_reporter); in RunTestTwo()
166 typedef benchmark::BenchmarkReporter::Run Run; in RunTestTwo()
178 benchmark::Initialize(&argc, argv); in main()