Lines Matching refs:benchmark
5 #include "benchmark/benchmark.h"
12 ADD_CASES(TC_ConsoleOut, {{"^Benchmark %s Time %s CPU %s Iterations$", MR_Next},
22 void BM_basic(benchmark::State& state) {
26 BENCHMARK(BM_basic);
41 void BM_bytes_per_second(benchmark::State& state) {
46 BENCHMARK(BM_bytes_per_second);
63 void BM_items_per_second(benchmark::State& state) {
68 BENCHMARK(BM_items_per_second);
85 void BM_label(benchmark::State& state) {
90 BENCHMARK(BM_label);
107 void BM_error(benchmark::State& state) {
112 BENCHMARK(BM_error);
125 void BM_no_arg_name(benchmark::State& state) {
129 BENCHMARK(BM_no_arg_name)->Arg(3);
138 void BM_arg_name(benchmark::State& state) {
142 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
151 void BM_arg_names(benchmark::State& state) {
155 BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"});
165 void BM_Complexity_O1(benchmark::State& state) {
170 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
181 void BM_Repeat(benchmark::State& state) {
185 BENCHMARK(BM_Repeat)->Repetitions(3);
204 void BM_RepeatOnce(benchmark::State& state) {
208 BENCHMARK(BM_RepeatOnce)->Repetitions(1)->ReportAggregatesOnly();
214 void BM_SummaryRepeat(benchmark::State& state) {
218 BENCHMARK(BM_SummaryRepeat)->Repetitions(3)->ReportAggregatesOnly();
230 void BM_RepeatTimeUnit(benchmark::State& state) {
234 BENCHMARK(BM_RepeatTimeUnit)
237 ->Unit(benchmark::kMicrosecond);