Classes | Namespaces | Functions
bm_threadpool.cc File Reference
#include <condition_variable>
#include <mutex>
#include <benchmark/benchmark.h>
#include <grpc/grpc.h>
#include "src/core/lib/iomgr/executor/threadpool.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_threadpool.cc:

Go to the source code of this file.

Classes

class  grpc::testing::AddAnotherFunctor
 
class  grpc::testing::AddSelfFunctor
 
class  grpc::testing::BlockingCounter
 
class  grpc::testing::ShortWorkFunctorForAdd
 
class  grpc::testing::SuicideFunctorForAdd
 

Namespaces

 benchmark
 
 grpc
 
 grpc::testing
 

Functions

 grpc::testing::BENCHMARK (BM_SpikyLoad) -> Arg(1) ->Arg(2) ->Arg(4) ->Arg(8) ->Arg(16)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 1) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 4) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 8) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 1) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 128) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 16) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 2048) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 32) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 4) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 512) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 64) -> RangePair(524288, 524288, 1, 1024)
 
 grpc::testing::BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 8) -> RangePair(524288, 524288, 1, 1024)
 
static void grpc::testing::BM_SpikyLoad (benchmark::State &state)
 
static void grpc::testing::BM_ThreadPoolExternalAdd (benchmark::State &state)
 
int main (int argc, char *argv[])
 
 grpc::testing::RangePair (524288, 524288, 1, 1024)
 
void benchmark::RunTheBenchmarksNamespaced ()
 
template<int kConcurrentFunctor>
static void grpc::testing::ThreadPoolAddAnother (benchmark::State &state)
 
template<int kConcurrentFunctor>
static void grpc::testing::ThreadPoolAddSelf (benchmark::State &state)
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 324 of file bm_threadpool.cc.



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