• Home
  • Raw
  • Download

Lines Matching full:benchmark

21 #include <benchmark/benchmark.h>
35 static void BM_NoOpExecCtx(benchmark::State& state) { in BM_NoOpExecCtx()
42 BENCHMARK(BM_NoOpExecCtx);
44 static void BM_WellFlushed(benchmark::State& state) { in BM_WellFlushed()
53 BENCHMARK(BM_WellFlushed);
57 static void BM_ClosureInitAgainstExecCtx(benchmark::State& state) { in BM_ClosureInitAgainstExecCtx()
61 benchmark::DoNotOptimize( in BM_ClosureInitAgainstExecCtx()
66 BENCHMARK(BM_ClosureInitAgainstExecCtx);
68 static void BM_ClosureInitAgainstCombiner(benchmark::State& state) { in BM_ClosureInitAgainstCombiner()
74 benchmark::DoNotOptimize(GRPC_CLOSURE_INIT( in BM_ClosureInitAgainstCombiner()
81 BENCHMARK(BM_ClosureInitAgainstCombiner);
83 static void BM_ClosureRunOnExecCtx(benchmark::State& state) { in BM_ClosureRunOnExecCtx()
95 BENCHMARK(BM_ClosureRunOnExecCtx);
97 static void BM_ClosureCreateAndRun(benchmark::State& state) { in BM_ClosureCreateAndRun()
108 BENCHMARK(BM_ClosureCreateAndRun);
110 static void BM_ClosureInitAndRun(benchmark::State& state) { in BM_ClosureInitAndRun()
122 BENCHMARK(BM_ClosureInitAndRun);
124 static void BM_ClosureSchedOnExecCtx(benchmark::State& state) { in BM_ClosureSchedOnExecCtx()
136 BENCHMARK(BM_ClosureSchedOnExecCtx);
138 static void BM_ClosureSched2OnExecCtx(benchmark::State& state) { in BM_ClosureSched2OnExecCtx()
153 BENCHMARK(BM_ClosureSched2OnExecCtx);
155 static void BM_ClosureSched3OnExecCtx(benchmark::State& state) { in BM_ClosureSched3OnExecCtx()
173 BENCHMARK(BM_ClosureSched3OnExecCtx);
175 static void BM_AcquireMutex(benchmark::State& state) { in BM_AcquireMutex()
189 BENCHMARK(BM_AcquireMutex);
191 static void BM_TryAcquireMutex(benchmark::State& state) { in BM_TryAcquireMutex()
208 BENCHMARK(BM_TryAcquireMutex);
210 static void BM_AcquireSpinlock(benchmark::State& state) { in BM_AcquireSpinlock()
223 BENCHMARK(BM_AcquireSpinlock);
225 static void BM_TryAcquireSpinlock(benchmark::State& state) { in BM_TryAcquireSpinlock()
241 BENCHMARK(BM_TryAcquireSpinlock);
243 static void BM_ClosureSchedOnCombiner(benchmark::State& state) { in BM_ClosureSchedOnCombiner()
257 BENCHMARK(BM_ClosureSchedOnCombiner);
259 static void BM_ClosureSched2OnCombiner(benchmark::State& state) { in BM_ClosureSched2OnCombiner()
276 BENCHMARK(BM_ClosureSched2OnCombiner);
278 static void BM_ClosureSched3OnCombiner(benchmark::State& state) { in BM_ClosureSched3OnCombiner()
298 BENCHMARK(BM_ClosureSched3OnCombiner);
300 static void BM_ClosureSched2OnTwoCombiners(benchmark::State& state) { in BM_ClosureSched2OnTwoCombiners()
321 BENCHMARK(BM_ClosureSched2OnTwoCombiners);
323 static void BM_ClosureSched4OnTwoCombiners(benchmark::State& state) { in BM_ClosureSched4OnTwoCombiners()
352 BENCHMARK(BM_ClosureSched4OnTwoCombiners);
355 // the benchmark is complete
358 Rescheduler(benchmark::State& state, grpc_closure_scheduler* scheduler) in Rescheduler()
372 benchmark::State& state_;
383 static void BM_ClosureReschedOnExecCtx(benchmark::State& state) { in BM_ClosureReschedOnExecCtx()
391 BENCHMARK(BM_ClosureReschedOnExecCtx);
393 static void BM_ClosureReschedOnCombiner(benchmark::State& state) { in BM_ClosureReschedOnCombiner()
404 BENCHMARK(BM_ClosureReschedOnCombiner);
406 static void BM_ClosureReschedOnCombinerFinally(benchmark::State& state) { in BM_ClosureReschedOnCombinerFinally()
417 BENCHMARK(BM_ClosureReschedOnCombinerFinally);
419 // Some distros have RunSpecifiedBenchmarks under the benchmark namespace,
421 namespace benchmark { namespace
423 } // namespace benchmark
426 ::benchmark::Initialize(&argc, argv); in main()
428 benchmark::RunTheBenchmarksNamespaced(); in main()