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

Functions

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

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/6]

TEST ( LocalAlloc ,
allocate  )

test allocate.

◆ TEST() [2/6]

TEST ( LocalAlloc ,
benchmark  )

test concurrent access.

◆ TEST() [3/6]

TEST ( LocalAlloc ,
deallocate  )

test deallocate.

◆ TEST() [4/6]

TEST ( LocalAlloc ,
mlock  )

test mlock.

◆ TEST() [5/6]

TEST ( LocalAlloc ,
move  )

test move.

◆ TEST() [6/6]

TEST ( LocalAlloc ,
tryAllocate  )

test tryAllocate.