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

Functions

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

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/15]

TEST ( LocalMpsc ,
available  )

test available.

◆ TEST() [2/15]

TEST ( LocalMpsc ,
empty  )

test empty.

◆ TEST() [3/15]

TEST ( LocalMpsc ,
full  )

test full.

◆ TEST() [4/15]

TEST ( LocalMpsc ,
mlock  )

test mlock.

◆ TEST() [5/15]

TEST ( LocalMpsc ,
pending  )

test pending.

◆ TEST() [6/15]

TEST ( LocalMpsc ,
pop  )

test pop.

◆ TEST() [7/15]

TEST ( LocalMpsc ,
popBatch  )

test batch pop.

◆ TEST() [8/15]

TEST ( LocalMpsc ,
popBenchmark  )

benchmark pop.

◆ TEST() [9/15]

TEST ( LocalMpsc ,
push  )

test push.

◆ TEST() [10/15]

TEST ( LocalMpsc ,
pushBatch  )

test batch push.

◆ TEST() [11/15]

TEST ( LocalMpsc ,
pushBenchmark  )

benchmark push.

◆ TEST() [12/15]

TEST ( LocalMpsc ,
tryPop  )

test tryPop.

◆ TEST() [13/15]

TEST ( LocalMpsc ,
tryPopBatch  )

test batch tryPop.

◆ TEST() [14/15]

TEST ( LocalMpsc ,
tryPush  )

test tryPush.

◆ TEST() [15/15]

TEST ( LocalMpsc ,
tryPushBatch  )

test batch tryPush.