join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
shmmpmc_test.cpp File Reference
#include <join/statistics.hpp>
#include <join/semaphore.hpp>
#include <join/thread.hpp>
#include <join/queue.hpp>
#include <gtest/gtest.h>
Include dependency graph for shmmpmc_test.cpp:

Classes

class  ShmMpmc
 class used to test the multiple producer multiple consumer ring buffer. More...
 

Functions

 TEST_F (ShmMpmc, create)
 test create.
 
 TEST_F (ShmMpmc, tryPush)
 test tryPush.
 
 TEST_F (ShmMpmc, tryPushBatch)
 test batch tryPush.
 
 TEST_F (ShmMpmc, push)
 test push.
 
 TEST_F (ShmMpmc, pushBatch)
 test batch push.
 
 TEST_F (ShmMpmc, tryPop)
 test tryPop.
 
 TEST_F (ShmMpmc, tryPopBatch)
 test batch tryPop.
 
 TEST_F (ShmMpmc, pop)
 test pop.
 
 TEST_F (ShmMpmc, popBatch)
 test batch pop.
 
 TEST_F (ShmMpmc, pushBenchmark)
 benchmark push.
 
 TEST_F (ShmMpmc, popBenchmark)
 benchmark pop.
 
 TEST_F (ShmMpmc, pending)
 test pending.
 
 TEST_F (ShmMpmc, available)
 test available.
 
 TEST_F (ShmMpmc, full)
 test full.
 
 TEST_F (ShmMpmc, empty)
 test empty.
 
 TEST_F (ShmMpmc, mlock)
 test mlock.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/16]

TEST_F ( ShmMpmc ,
available  )

test available.

◆ TEST_F() [2/16]

TEST_F ( ShmMpmc ,
create  )

test create.

◆ TEST_F() [3/16]

TEST_F ( ShmMpmc ,
empty  )

test empty.

◆ TEST_F() [4/16]

TEST_F ( ShmMpmc ,
full  )

test full.

◆ TEST_F() [5/16]

TEST_F ( ShmMpmc ,
mlock  )

test mlock.

◆ TEST_F() [6/16]

TEST_F ( ShmMpmc ,
pending  )

test pending.

◆ TEST_F() [7/16]

TEST_F ( ShmMpmc ,
pop  )

test pop.

◆ TEST_F() [8/16]

TEST_F ( ShmMpmc ,
popBatch  )

test batch pop.

◆ TEST_F() [9/16]

TEST_F ( ShmMpmc ,
popBenchmark  )

benchmark pop.

◆ TEST_F() [10/16]

TEST_F ( ShmMpmc ,
push  )

test push.

◆ TEST_F() [11/16]

TEST_F ( ShmMpmc ,
pushBatch  )

test batch push.

◆ TEST_F() [12/16]

TEST_F ( ShmMpmc ,
pushBenchmark  )

benchmark push.

◆ TEST_F() [13/16]

TEST_F ( ShmMpmc ,
tryPop  )

test tryPop.

◆ TEST_F() [14/16]

TEST_F ( ShmMpmc ,
tryPopBatch  )

test batch tryPop.

◆ TEST_F() [15/16]

TEST_F ( ShmMpmc ,
tryPush  )

test tryPush.

◆ TEST_F() [16/16]

TEST_F ( ShmMpmc ,
tryPushBatch  )

test batch tryPush.