Go to the documentation of this file.
23 #include <benchmark/benchmark.h>
375 if (
self->state_.KeepRunning()) {
397 int main(
int argc,
char** argv) {
#define GRPC_CLOSURE_INIT(closure, cb, cb_arg, scheduler)
void InitTest(int *argc, char ***argv, bool remove_flags)
#define GPR_SPINLOCK_INITIALIZER
GPRAPI void gpr_mu_unlock(gpr_mu *mu)
static void BM_NoOpExecCtx(benchmark::State &state)
static void Step(void *arg, grpc_error_handle)
static void BM_ClosureSched3OnCombiner(benchmark::State &state)
BENCHMARK(BM_NoOpExecCtx)
BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const &value)
void RunTheBenchmarksNamespaced()
#define GRPC_CLOSURE_CREATE(cb, cb_arg, scheduler)
virtual void Finish(benchmark::State &state)
static void BM_TryAcquireSpinlock(benchmark::State &state)
#define gpr_spinlock_lock(lock)
static void BM_AcquireSpinlock(benchmark::State &state)
GPRAPI void gpr_mu_destroy(gpr_mu *mu)
size_t RunSpecifiedBenchmarks()
static void BM_ClosureInitAgainstCombiner(benchmark::State &state)
grpc_core::Combiner * grpc_combiner_create(void)
static void BM_ClosureInitAndRun(benchmark::State &state)
static void BM_ClosureSched2OnTwoCombiners(benchmark::State &state)
static void BM_ClosureInitAgainstExecCtx(benchmark::State &state)
static void BM_ClosureSched2OnCombiner(benchmark::State &state)
GPRAPI void gpr_mu_init(gpr_mu *mu)
#define gpr_spinlock_unlock(lock)
void Run(grpc_closure *closure, grpc_error_handle error)
GPRAPI void gpr_mu_lock(gpr_mu *mu)
void Initialize(int *argc, char **argv)
int main(int argc, char **argv)
static void BM_ClosureSched2OnExecCtx(benchmark::State &state)
benchmark::State & state_
Rescheduler(benchmark::State &state)
#define gpr_spinlock_trylock(lock)
static void DoNothing(void *, grpc_error_handle)
static void BM_ClosureSched3OnExecCtx(benchmark::State &state)
static void BM_AcquireMutex(benchmark::State &state)
void ScheduleFirstAgainstDifferentScheduler()
grpc_core::ExecCtx exec_ctx
GPRAPI int gpr_mu_trylock(gpr_mu *mu)
static void BM_ClosureReschedOnExecCtx(benchmark::State &state)
static void BM_ClosureCreateAndRun(benchmark::State &state)
static void Run(const DebugLocation &location, grpc_closure *closure, grpc_error_handle error)
static void BM_ClosureSchedOnCombiner(benchmark::State &state)
PHP_PROTO_OBJECT_FREE_END PHP_PROTO_OBJECT_DTOR_END intern self
static void BM_WellFlushed(benchmark::State &state)
static void BM_ClosureSchedOnExecCtx(benchmark::State &state)
static void BM_TryAcquireMutex(benchmark::State &state)
static void BM_ClosureRun(benchmark::State &state)
#define GRPC_COMBINER_UNREF(combiner, reason)
static void BM_ClosureSched4OnTwoCombiners(benchmark::State &state)
static void Run(const DebugLocation &location, grpc_closure *closure, grpc_error_handle error)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:48