#include <string.h>
#include <benchmark/benchmark.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/ev_posix.h"
#include "src/core/lib/iomgr/pollset.h"
#include "src/core/lib/iomgr/port.h"
#include "src/core/lib/iomgr/wakeup_fd_posix.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 | |
class | TestClosure |
Namespaces | |
benchmark | |
Functions | |
BENCHMARK (BM_CreateDestroyPollset) | |
BENCHMARK (BM_PollAddFd) | |
BENCHMARK (BM_PollEmptyPollset) | |
BENCHMARK (BM_SingleThreadPollOneFd) | |
static void | BM_CreateDestroyPollset (benchmark::State &state) |
static void | BM_PollAddFd (benchmark::State &state) |
static void | BM_PollEmptyPollset (benchmark::State &state) |
static void | BM_SingleThreadPollOneFd (benchmark::State &state) |
int | main (int argc, char **argv) |
template<class F > | |
TestClosure * | MakeTestClosure (F f) |
void | benchmark::RunTheBenchmarksNamespaced () |
static void | shutdown_ps (void *ps, grpc_error_handle) |
BENCHMARK | ( | BM_CreateDestroyPollset | ) |
BENCHMARK | ( | BM_PollAddFd | ) |
BENCHMARK | ( | BM_PollEmptyPollset | ) |
BENCHMARK | ( | BM_SingleThreadPollOneFd | ) |
|
static |
Definition at line 49 of file bm_pollset.cc.
|
static |
Definition at line 135 of file bm_pollset.cc.
|
static |
Definition at line 112 of file bm_pollset.cc.
|
static |
Definition at line 215 of file bm_pollset.cc.
Definition at line 264 of file bm_pollset.cc.
TestClosure* MakeTestClosure | ( | F | f | ) |
Definition at line 169 of file bm_pollset.cc.
|
static |
Definition at line 45 of file bm_pollset.cc.