The namespace rml contains components of low-level memory pool interface.
More...
|
typedef void *(* | rawAllocType )(intptr_t pool_id, size_t &bytes) |
|
typedef int(* | rawFreeType )(intptr_t pool_id, void *raw_ptr, size_t raw_bytes) |
|
|
enum | MemPoolError {
POOL_OK = TBBMALLOC_OK,
INVALID_POLICY = TBBMALLOC_INVALID_PARAM,
UNSUPPORTED_POLICY = TBBMALLOC_UNSUPPORTED,
NO_MEMORY = TBBMALLOC_NO_MEMORY,
NO_EFFECT = TBBMALLOC_NO_EFFECT
} |
|
|
MemPoolError | pool_create_v1 (intptr_t pool_id, const MemPoolPolicy *policy, rml::MemoryPool **pool) |
|
bool | pool_destroy (MemoryPool *memPool) |
|
void * | pool_malloc (MemoryPool *memPool, size_t size) |
|
void * | pool_realloc (MemoryPool *memPool, void *object, size_t size) |
|
void * | pool_aligned_malloc (MemoryPool *mPool, size_t size, size_t alignment) |
|
void * | pool_aligned_realloc (MemoryPool *mPool, void *ptr, size_t size, size_t alignment) |
|
bool | pool_reset (MemoryPool *memPool) |
|
bool | pool_free (MemoryPool *memPool, void *object) |
|
MemoryPool * | pool_identify (void *object) |
|
The namespace rml contains components of low-level memory pool interface.