Classes | Macros | Functions
mpmcqueue_test.cc File Reference
#include "src/core/lib/iomgr/executor/mpmcqueue.h"
#include <grpc/grpc.h>
#include "src/core/lib/gprpp/thd.h"
#include "test/core/util/test_config.h"
Include dependency graph for mpmcqueue_test.cc:

Go to the source code of this file.

Classes

class  ConsumerThread
 
class  ProducerThread
 
struct  WorkItem
 

Macros

#define TEST_NUM_ITEMS   10000
 

Functions

int main (int argc, char **argv)
 
static void test_FIFO (void)
 
static void test_many_thread (void)
 
static void test_space_efficiency (void)
 

Macro Definition Documentation

◆ TEST_NUM_ITEMS

#define TEST_NUM_ITEMS   10000

Definition at line 26 of file mpmcqueue_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 219 of file mpmcqueue_test.cc.

◆ test_FIFO()

static void test_FIFO ( void  )
static

Definition at line 107 of file mpmcqueue_test.cc.

◆ test_many_thread()

static void test_many_thread ( void  )
static

Definition at line 172 of file mpmcqueue_test.cc.

◆ test_space_efficiency()

static void test_space_efficiency ( void  )
static

Definition at line 123 of file mpmcqueue_test.cc.



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