#include <string.h>
#include <atomic>
#include <benchmark/benchmark.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/ev_posix.h"
#include "src/core/lib/iomgr/port.h"
#include "src/core/lib/surface/completion_queue.h"
#include "test/core/util/test_config.h"
#include "test/cpp/microbenchmarks/helpers.h"
#include "test/cpp/util/test_config.h"
Go to the source code of this file.
Classes | |
struct | grpc_pollset |
Namespaces | |
benchmark | |
grpc | |
grpc::testing | |
Functions | |
grpc::testing::BENCHMARK (BM_Cq_Throughput) -> ThreadRange(1, 16) ->UseRealTime() | |
static void | grpc::testing::BM_Cq_Throughput (benchmark::State &state) |
static void | grpc::testing::cq_done_cb (void *, grpc_cq_completion *cq_completion) |
int | main (int argc, char **argv) |
static grpc_event_engine_vtable | grpc::testing::make_engine_vtable (const char *name) |
static void | grpc::testing::pollset_destroy (grpc_pollset *ps) |
static void | grpc::testing::pollset_init (grpc_pollset *ps, gpr_mu **mu) |
static grpc_error_handle | grpc::testing::pollset_kick (grpc_pollset *, grpc_pollset_worker *) |
static void | grpc::testing::pollset_shutdown (grpc_pollset *, grpc_closure *closure) |
static grpc_error_handle | grpc::testing::pollset_work (grpc_pollset *ps, grpc_pollset_worker **, grpc_core::Timestamp deadline) |
void | benchmark::RunTheBenchmarksNamespaced () |
static void | grpc::testing::setup () |
static void | grpc::testing::teardown () |
Variables | |
static bool | g_active |
static grpc_completion_queue * | grpc::testing::g_cq |
static gpr_cv | g_cv |
static gpr_mu | g_mu |
static int | g_threads_active |
Definition at line 224 of file bm_cq_multiple_threads.cc.
|
static |
Definition at line 44 of file bm_cq_multiple_threads.cc.
|
static |
Definition at line 42 of file bm_cq_multiple_threads.cc.
|
static |
Definition at line 41 of file bm_cq_multiple_threads.cc.
|
static |
Definition at line 43 of file bm_cq_multiple_threads.cc.