Wwise SDK 2024.1.4
|
#include <AkTempAllocDefs.h>
Public Attributes | |
AkUInt32 | uMinimumBlockCount |
The number of blocks of memory the system is initialized with and is the minimum kept around forever. Defaults to 1. Higher values increase upfront memory use, but can reduce, or eliminate, the creation and destruction of memory blocks over time. More... | |
AkUInt32 | uMinimumBlockSize |
The minimum size of each block. If a new allocation requests a new block of memory, then the new block is the size of the requested allocation times four, and then rounded up to the next multiple of this value. Defaults to 64 KiB. More... | |
AkUInt32 | uMaximumUnusedBlocks |
The maximum number of blocks that the system keeps in an unused state, and avoids freeing. Defaults to 1. Higher values do not increase the peak memory use, but do prevent unused memory from being freed, in order to reduce creation and destruction of memory blocks. More... | |
bool | bDebugDetailedStats |
Enable to track detailed stats, specifically collection of Stats::uRecentPeakMemUsed. Enabled by default. More... | |
bool | bDebugClearMemory |
Enable to clear any allocation to a deterministic garbage value during allocs, and after the stack is rewound to a bookmark. Useful to make sure memory is initialized properly. Disabled by default. More... | |
bool | bDebugEnableSentinels |
Enable to write out sentinels between most allocations to help detect memory overwrites, which are verified at the termination of a bookmark alloc region. Enabled by default. Increases memory usage of blocks slightly. More... | |
bool | bDebugStandaloneAllocs |
Enable to force the block size to be as small as possible for each allocation (smaller than can be achieved by just setting uMinimumBlockSize to very low values). Useful to investigate memory overruns in-depth, especially in conjunction with the MemoryMgr's stomp allocator. If enabled, bDebugEnableSentinels will be disabled. Greatly increases CPU and memory usage. More... | |
Initialization settings for Bookmark-allocator memory.
Definition at line 133 of file AkTempAllocDefs.h.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise