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

Functions

 TEST (LocalBump, move)
 test move.
 
 TEST (LocalBump, allocate)
 test allocate.
 
 TEST (LocalBump, deallocate)
 test deallocate.
 
 TEST (LocalBump, reset)
 test reset.
 
 TEST (LocalBump, capacity)
 test capacity.
 
 TEST (LocalBump, used)
 test used.
 
 TEST (LocalBump, hasBackend)
 test hasBackend.
 
 TEST (LocalBump, mlock)
 test mlock.
 
 TEST (LocalBump, 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/9]

TEST ( LocalBump ,
allocate  )

test allocate.

◆ TEST() [2/9]

TEST ( LocalBump ,
benchmark  )

test concurrent access.

◆ TEST() [3/9]

TEST ( LocalBump ,
capacity  )

test capacity.

◆ TEST() [4/9]

TEST ( LocalBump ,
deallocate  )

test deallocate.

◆ TEST() [5/9]

TEST ( LocalBump ,
hasBackend  )

test hasBackend.

◆ TEST() [6/9]

TEST ( LocalBump ,
mlock  )

test mlock.

◆ TEST() [7/9]

TEST ( LocalBump ,
move  )

test move.

◆ TEST() [8/9]

TEST ( LocalBump ,
reset  )

test reset.

◆ TEST() [9/9]

TEST ( LocalBump ,
used  )

test used.