组合类型 | |
struct | PoolStats |
struct | PoolMemInfo |
枚举 | |
enum | DebugFlags { CheckOverwriteAtFree = 1, CheckOverwritePerFrame = 2, CheckOverwritePerVoice = 4 } |
函数 | |
bool __cdecl | IsInitialized () |
void __cdecl | Term () |
AKRESULT __cdecl | Init (AkMemSettings *in_pSettings) |
Memory Pools | |
AkMemPoolId __cdecl | CreatePool (void *in_pMemAddress, AkUInt32 in_uMemSize, AkUInt32 in_uBlockSize, AkUInt32 in_eAttributes, AkUInt32 in_uBlockAlign=0) |
AKRESULT __cdecl | SetPoolName (AkMemPoolId in_poolId, const char *in_pszPoolName) |
AkOSChar *__cdecl | GetPoolName (AkMemPoolId in_poolId) |
AKRESULT __cdecl | SetMonitoring (AkMemPoolId in_poolId, bool in_bDoMonitor) |
AKRESULT __cdecl | DestroyPool (AkMemPoolId in_poolId) |
AKRESULT __cdecl | GetPoolStats (AkMemPoolId in_poolId, PoolStats &out_stats) |
void __cdecl | GetPoolMemoryUsed (AkMemPoolId in_poolId, PoolMemInfo &out_memInfo) |
AkInt32 __cdecl | GetNumPools () |
AkInt32 __cdecl | GetMaxPools () |
AKRESULT __cdecl | CheckPoolId (AkMemPoolId in_poolId) |
AkMemPoolAttributes __cdecl | GetPoolAttributes (AkMemPoolId in_poolId) |
Memory Allocation | |
void *__cdecl | Malloc (AkMemPoolId in_poolId, size_t in_uSize) |
AKRESULT __cdecl | Free (AkMemPoolId in_poolId, void *in_pMemAddress) |
void *__cdecl | Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment) |
AKRESULT __cdecl | Falign (AkMemPoolId in_poolId, void *in_pMemAddress) |
Fixed-Size Blocks Memory Allocation Mode | |
void *__cdecl | GetBlock (AkMemPoolId in_poolId) |
AKRESULT __cdecl | ReleaseBlock (AkMemPoolId in_poolId, void *in_pMemAddress) |
AkUInt32 __cdecl | GetBlockSize (AkMemPoolId in_poolId) |
void __cdecl | StartProfileThreadUsage (AkMemPoolId in_PoolId) |
AkUInt32 __cdecl | StopProfileThreadUsage (AkMemPoolId in_PoolId) |
void __cdecl | CheckForOverwrite (AkUInt32 in_uPoolID) |
Memory Manager namespace.