Lines Matching refs:benchmark
70 void BM_Complexity_O1(benchmark::State &state) { in BM_Complexity_O1()
73 benchmark::DoNotOptimize(&i); in BM_Complexity_O1()
78 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
82 ->Complexity([](benchmark::IterationCount) { return 1.0; }); in __anon456a40700202()
119 void BM_Complexity_O_N(benchmark::State &state) { in BM_Complexity_O_N()
124 benchmark::DoNotOptimize(std::find(v.begin(), v.end(), item_not_in_vector)); in BM_Complexity_O_N()
131 ->Complexity(benchmark::oN);
135 ->Complexity([](benchmark::IterationCount n) -> double { in __anon456a40700302()
161 static void BM_Complexity_O_N_log_N(benchmark::State &state) { in BM_Complexity_O_N_log_N()
172 ->Complexity(benchmark::oNLogN);
176 ->Complexity([](benchmark::IterationCount n) { in __anon456a40700402()
204 void BM_ComplexityCaptureArgs(benchmark::State &state, int n) { in BM_ComplexityCaptureArgs()
207 benchmark::DoNotOptimize(state.iterations()); in BM_ComplexityCaptureArgs()
213 ->Complexity(benchmark::oN)