Classes | Namespaces | Functions
bm_pollset.cc File Reference
#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"
Include dependency graph for bm_pollset.cc:

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 >
TestClosureMakeTestClosure (F f)
 
void benchmark::RunTheBenchmarksNamespaced ()
 
static void shutdown_ps (void *ps, grpc_error_handle)
 

Function Documentation

◆ BENCHMARK() [1/4]

BENCHMARK ( BM_CreateDestroyPollset  )

◆ BENCHMARK() [2/4]

BENCHMARK ( BM_PollAddFd  )

◆ BENCHMARK() [3/4]

BENCHMARK ( BM_PollEmptyPollset  )

◆ BENCHMARK() [4/4]

BENCHMARK ( BM_SingleThreadPollOneFd  )

◆ BM_CreateDestroyPollset()

static void BM_CreateDestroyPollset ( benchmark::State state)
static

Definition at line 49 of file bm_pollset.cc.

◆ BM_PollAddFd()

static void BM_PollAddFd ( benchmark::State state)
static

Definition at line 135 of file bm_pollset.cc.

◆ BM_PollEmptyPollset()

static void BM_PollEmptyPollset ( benchmark::State state)
static

Definition at line 112 of file bm_pollset.cc.

◆ BM_SingleThreadPollOneFd()

static void BM_SingleThreadPollOneFd ( benchmark::State state)
static

Definition at line 215 of file bm_pollset.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 264 of file bm_pollset.cc.

◆ MakeTestClosure()

template<class F >
TestClosure* MakeTestClosure ( F  f)

Definition at line 169 of file bm_pollset.cc.

◆ shutdown_ps()

static void shutdown_ps ( void *  ps,
grpc_error_handle   
)
static

Definition at line 45 of file bm_pollset.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04