A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
tlsfAllocator Class Reference

#include <tlsf.h>

+ Collaboration diagram for tlsfAllocator:

Public Types

typedef void(* tlsf_walker )(void *ptr, size_t size, int used, void *user)
 

Public Member Functions

tlsf_t tlsf_create (void *mem)
 
tlsf_t tlsf_create_with_pool (void *mem, size_t bytes)
 
void tlsf_destroy (tlsf_t tlsf)
 
pool_t tlsf_get_pool (tlsf_t tlsf)
 
pool_t tlsf_add_pool (tlsf_t tlsf, void *mem, size_t bytes)
 
void tlsf_remove_pool (tlsf_t tlsf, pool_t pool)
 
void * tlsf_malloc (tlsf_t tlsf, size_t bytes)
 
void * tlsf_mallocxz (tlsf_t tlsf, size_t bytes)
 
void * tlsf_realloc (tlsf_t tlsf, void *ptr, size_t size)
 
void * tlsf_reallocxf (tlsf_t tlsf, void *ptr, size_t size)
 
void tlsf_free (tlsf_t tlsf, void *ptr)
 
size_t tlsf_block_size (void *ptr)
 
size_t tlsf_size (void)
 
size_t tlsf_align_size (void)
 
size_t tlsf_block_size_min (void)
 
size_t tlsf_block_size_max (void)
 
size_t tlsf_pool_overhead (void)
 
size_t tlsf_alloc_overhead (void)
 
void tlsf_walk_pool (pool_t pool, tlsf_walker walker, void *user)
 
int tlsf_check (tlsf_t tlsf)
 
int tlsf_check_pool (pool_t pool)
 

Detailed Description

Definition at line 49 of file tlsf.h.

Member Typedef Documentation

typedef void(* tlsfAllocator::tlsf_walker)(void *ptr, size_t size, int used, void *user)

Definition at line 81 of file tlsf.h.

Member Function Documentation

pool_t tlsfAllocator::tlsf_add_pool ( tlsf_t  tlsf,
void *  mem,
size_t  bytes 
)

Definition at line 836 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t tlsfAllocator::tlsf_align_size ( void  )

Definition at line 811 of file tlsf.cc.

size_t tlsfAllocator::tlsf_alloc_overhead ( void  )

Definition at line 832 of file tlsf.cc.

size_t tlsfAllocator::tlsf_block_size ( void *  ptr)

Definition at line 786 of file tlsf.cc.

+ Here is the call graph for this function:

size_t tlsfAllocator::tlsf_block_size_max ( void  )

Definition at line 819 of file tlsf.cc.

size_t tlsfAllocator::tlsf_block_size_min ( void  )

Definition at line 815 of file tlsf.cc.

int tlsfAllocator::tlsf_check ( tlsf_t  tlsf)

Definition at line 719 of file tlsf.cc.

+ Here is the call graph for this function:

int tlsfAllocator::tlsf_check_pool ( pool_t  pool)

Definition at line 795 of file tlsf.cc.

+ Here is the call graph for this function:

tlsf_t tlsfAllocator::tlsf_create ( void *  mem)

Definition at line 926 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

tlsf_t tlsfAllocator::tlsf_create_with_pool ( void *  mem,
size_t  bytes 
)

Definition at line 948 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void tlsfAllocator::tlsf_destroy ( tlsf_t  tlsf)

Definition at line 954 of file tlsf.cc.

void tlsfAllocator::tlsf_free ( tlsf_t  tlsf,
void *  ptr 
)

Definition at line 980 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

pool_t tlsfAllocator::tlsf_get_pool ( tlsf_t  tlsf)

Definition at line 959 of file tlsf.cc.

+ Here is the call graph for this function:

void * tlsfAllocator::tlsf_malloc ( tlsf_t  tlsf,
size_t  bytes 
)

Definition at line 963 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void * tlsfAllocator::tlsf_mallocxz ( tlsf_t  tlsf,
size_t  bytes 
)

Definition at line 970 of file tlsf.cc.

+ Here is the call graph for this function:

size_t tlsfAllocator::tlsf_pool_overhead ( void  )

Definition at line 828 of file tlsf.cc.

+ Here is the caller graph for this function:

void * tlsfAllocator::tlsf_realloc ( tlsf_t  tlsf,
void *  ptr,
size_t  size 
)

Definition at line 1012 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void * tlsfAllocator::tlsf_reallocxf ( tlsf_t  tlsf,
void *  ptr,
size_t  size 
)

Definition at line 1065 of file tlsf.cc.

+ Here is the call graph for this function:

void tlsfAllocator::tlsf_remove_pool ( tlsf_t  tlsf,
pool_t  pool 
)

Definition at line 881 of file tlsf.cc.

+ Here is the call graph for this function:

size_t tlsfAllocator::tlsf_size ( void  )

Definition at line 807 of file tlsf.cc.

+ Here is the caller graph for this function:

void tlsfAllocator::tlsf_walk_pool ( pool_t  pool,
tlsf_walker  walker,
void *  user 
)

Definition at line 776 of file tlsf.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: