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

Classes

class  PosixAlloc
 class used to test the posix shared memory provider. More...
 

Functions

 TEST_F (PosixAlloc, move)
 test move.
 
 TEST_F (PosixAlloc, allocate)
 test allocate.
 
 TEST_F (PosixAlloc, tryAllocate)
 test tryAllocate.
 
 TEST_F (PosixAlloc, deallocate)
 test deallocate.
 
 TEST_F (PosixAlloc, mlock)
 test mlock.
 
 TEST_F (PosixAlloc, benchmark)
 test concurrent access.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/6]

TEST_F ( PosixAlloc ,
allocate  )

test allocate.

◆ TEST_F() [2/6]

TEST_F ( PosixAlloc ,
benchmark  )

test concurrent access.

◆ TEST_F() [3/6]

TEST_F ( PosixAlloc ,
deallocate  )

test deallocate.

◆ TEST_F() [4/6]

TEST_F ( PosixAlloc ,
mlock  )

test mlock.

◆ TEST_F() [5/6]

TEST_F ( PosixAlloc ,
move  )

test move.

◆ TEST_F() [6/6]

TEST_F ( PosixAlloc ,
tryAllocate  )

test tryAllocate.