Version

menu_open

include/AK/SoundEngine/Common/AkMemoryMgr.h File Reference

Go to the source code of this file.

Classes

struct   AK::MemoryMgr::PoolStats
struct   AK::MemoryMgr::PoolMemInfo

Namespaces

namespace   AK
 

Audiokinetic namespace.


namespace   AK::MemoryMgr

Defines

#define  AK_MAX_MEM_POOL_NAME_SIZE   64
#define  AK_SETPOOLNAME(_poolid, _name)
  Set the debug name for a pool. This is the name shown in the Memory tab of the Advanced Profiler.

Enumerations

enum   AK::MemoryMgr::DebugFlags { AK::MemoryMgr::CheckOverwriteAtFree = 1, AK::MemoryMgr::CheckOverwritePerFrame = 2, AK::MemoryMgr::CheckOverwritePerVoice = 4 }

Functions

bool __cdecl  AK::MemoryMgr::IsInitialized ()
void __cdecl  AK::MemoryMgr::Term ()
Memory Pools

AkMemPoolId __cdecl  AK::MemoryMgr::CreatePool (void *in_pMemAddress, AkUInt32 in_uMemSize, AkUInt32 in_uBlockSize, AkUInt32 in_eAttributes, AkUInt32 in_uBlockAlign=0)
AKRESULT __cdecl  AK::MemoryMgr::SetPoolName (AkMemPoolId in_poolId, const char *in_pszPoolName)
AkOSChar *__cdecl  AK::MemoryMgr::GetPoolName (AkMemPoolId in_poolId)
AKRESULT __cdecl  AK::MemoryMgr::SetMonitoring (AkMemPoolId in_poolId, bool in_bDoMonitor)
AKRESULT __cdecl  AK::MemoryMgr::DestroyPool (AkMemPoolId in_poolId)
AKRESULT __cdecl  AK::MemoryMgr::GetPoolStats (AkMemPoolId in_poolId, PoolStats &out_stats)
void __cdecl  AK::MemoryMgr::GetPoolMemoryUsed (AkMemPoolId in_poolId, PoolMemInfo &out_memInfo)
AkInt32 __cdecl  AK::MemoryMgr::GetNumPools ()
AkInt32 __cdecl  AK::MemoryMgr::GetMaxPools ()
AKRESULT __cdecl  AK::MemoryMgr::CheckPoolId (AkMemPoolId in_poolId)
AkMemPoolAttributes __cdecl  AK::MemoryMgr::GetPoolAttributes (AkMemPoolId in_poolId)
Memory Allocation

void *__cdecl  AK::MemoryMgr::Malloc (AkMemPoolId in_poolId, size_t in_uSize)
AKRESULT __cdecl  AK::MemoryMgr::Free (AkMemPoolId in_poolId, void *in_pMemAddress)
void *__cdecl  AK::MemoryMgr::Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
AKRESULT __cdecl  AK::MemoryMgr::Falign (AkMemPoolId in_poolId, void *in_pMemAddress)
Fixed-Size Blocks Memory Allocation Mode

void *__cdecl  AK::MemoryMgr::GetBlock (AkMemPoolId in_poolId)
AKRESULT __cdecl  AK::MemoryMgr::ReleaseBlock (AkMemPoolId in_poolId, void *in_pMemAddress)
AkUInt32 __cdecl  AK::MemoryMgr::GetBlockSize (AkMemPoolId in_poolId)
void __cdecl  AK::MemoryMgr::StartProfileThreadUsage (AkMemPoolId in_PoolId)
AkUInt32 __cdecl  AK::MemoryMgr::StopProfileThreadUsage (AkMemPoolId in_PoolId)
void __cdecl  AK::MemoryMgr::CheckForOverwrite (AkUInt32 in_uPoolID)

Detailed Description

Memory Manager namespace.

Definition in file AkMemoryMgr.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise