MemoryManagerConfig¶
struct MemoryManagerConfig
Configures the memory management system.
Variables¶
Name | Description |
---|---|
malloc | Memory allocation callback. |
realloc | Memory reallocation callback. |
alignedMalloc | Aligned memory allocation callback. |
alignedRealloc | Aligned memory reallocation callback. |
free | Memory release callback. |
totalReservedMemorySize | Callback to get the total size of the memory allocated across memory pools |
sizeOf | Callback to get the total size of memory for a specific pool. |
Functions¶
Name | Description |
---|---|
MemoryManagerConfig | Creates a new configuration set for the memory manager. |
Variable Details¶
alignedMalloc¶
AmMemoryMallocAlignedCallback alignedMalloc
Aligned memory allocation callback.
alignedRealloc¶
AmMemoryReallocAlignedCallback alignedRealloc
Aligned memory reallocation callback.
free¶
AmMemoryFreeCallback free
Memory release callback.
malloc¶
AmMemoryMallocCallback malloc
Memory allocation callback.
realloc¶
AmMemoryReallocCallback realloc
Memory reallocation callback.
sizeOf¶
AmMemorySizeOfCallback sizeOf
Callback to get the total size of memory for a specific pool.
totalReservedMemorySize¶
AmMemoryTotalReservedMemorySizeCallback totalReservedMemorySize
Callback to get the total size of the memory allocated across memory pools
Function Details¶
MemoryManagerConfig¶
MemoryManagerConfig()
Creates a new configuration set for the memory manager.