#include <ApraPool.h>
|
bool | empty () const |
|
ApraChunk * | segregate (void *block, size_t sz, size_t partition_sz, ApraChunk *end=nullptr) |
|
ApraChunk * | find_prev (void *const ptr) |
|
ApraChunk * | try_malloc_n (ApraChunk *&start, size_t n, const size_t partition_size) |
|
ApraChunk * | getFreeApraChunk () |
|
void | addToJunk (ApraChunk *start, ApraChunk *end) |
|
void | releaseChunks () |
|
| ApraSegregatedStorage () |
|
virtual | ~ApraSegregatedStorage () |
|
void * | malloc_n (const size_t n, const size_t partition_size) |
|
void | add_ordered_block (void *const block, const size_t nsz, const size_t npartition_sz) |
|
void | ordered_free_n (void *const chunks, const size_t n, const size_t partition_size) |
|
ApraChunk * | first |
|
ApraChunk * | junkList |
|
boost::object_pool< ApraChunk > | chunk_opool |
|
◆ ApraPool()
template<typename UserAllocator>
ApraPool< UserAllocator >::ApraPool |
( |
const size_t | nRequestedSize, |
|
|
const size_t | nnext_size = 32, |
|
|
const size_t | nmax_size = 0 ) |
|
explicit |
◆ ~ApraPool()
template<typename UserAllocator>
Destructs the Pool, freeing its list of memory blocks.
◆ is_from()
template<typename UserAllocator>
bool ApraPool< UserAllocator >::is_from |
( |
void *const | chunk, |
|
|
char *const | start, |
|
|
char *const | end ) |
|
private |
◆ ordered_free()
template<typename UserAllocator>
void ApraPool< UserAllocator >::ordered_free |
( |
void * | ptr, |
|
|
const size_t | n ) |
◆ ordered_malloc()
template<typename UserAllocator>
void * ApraPool< UserAllocator >::ordered_malloc |
( |
const size_t | n | ) |
|
◆ purge_memory()
template<typename UserAllocator>
bool ApraPool< UserAllocator >::purge_memory |
( |
| ) |
|
◆ release_memory()
template<typename UserAllocator>
bool ApraPool< UserAllocator >::release_memory |
( |
| ) |
|
◆ store() [1/2]
template<typename UserAllocator>
◆ store() [2/2]
template<typename UserAllocator>
◆ list
template<typename UserAllocator>
◆ max_size
template<typename UserAllocator>
size_t ApraPool< UserAllocator >::max_size |
|
private |
◆ next_size
template<typename UserAllocator>
size_t ApraPool< UserAllocator >::next_size |
|
private |
◆ node_opool
template<typename UserAllocator>
◆ requested_size
template<typename UserAllocator>
const size_t ApraPool< UserAllocator >::requested_size |
|
private |
◆ start_size
template<typename UserAllocator>
size_t ApraPool< UserAllocator >::start_size |
|
private |
The documentation for this class was generated from the following file: