Classes | Functions | Variables
threadpool_test.cc File Reference
#include "src/core/lib/iomgr/executor/threadpool.h"
#include "test/core/util/test_config.h"
Include dependency graph for threadpool_test.cc:

Go to the source code of this file.

Classes

class  SimpleFunctorCheckForAdd
 
class  SimpleFunctorForAdd
 
class  WorkThread
 

Functions

int main (int argc, char **argv)
 
static void test_add (void)
 
static void test_constructor_option (void)
 
static void test_multi_add (void)
 
static void test_one_thread_FIFO (void)
 
static void test_size_zero (void)
 

Variables

static const int kLargeThreadPoolSize = 100
 
static const int kSmallThreadPoolSize = 20
 
static const int kThreadLargeIter = 10000
 
static const int kThreadSmallIter = 100
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 179 of file threadpool_test.cc.

◆ test_add()

static void test_add ( void  )
static

Definition at line 68 of file threadpool_test.cc.

◆ test_constructor_option()

static void test_constructor_option ( void  )
static

Definition at line 35 of file threadpool_test.cc.

◆ test_multi_add()

static void test_multi_add ( void  )
static

Definition at line 110 of file threadpool_test.cc.

◆ test_one_thread_FIFO()

static void test_one_thread_FIFO ( void  )
static

Definition at line 158 of file threadpool_test.cc.

◆ test_size_zero()

static void test_size_zero ( void  )
static

Definition at line 28 of file threadpool_test.cc.

Variable Documentation

◆ kLargeThreadPoolSize

const int kLargeThreadPoolSize = 100
static

Definition at line 24 of file threadpool_test.cc.

◆ kSmallThreadPoolSize

const int kSmallThreadPoolSize = 20
static

Definition at line 23 of file threadpool_test.cc.

◆ kThreadLargeIter

const int kThreadLargeIter = 10000
static

Definition at line 26 of file threadpool_test.cc.

◆ kThreadSmallIter

const int kThreadSmallIter = 100
static

Definition at line 25 of file threadpool_test.cc.



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