版本

menu_open
Wwise SDK 2021.1.14
AK::MemoryMgr 命名空间参考

struct   CategoryStats
 
struct   GlobalStats
 

函数

AKSOUNDENGINE_API AKRESULT  Init (AkMemSettings *in_pSettings)
 
AKSOUNDENGINE_API void  GetDefaultSettings (AkMemSettings &out_pMemSettings)
  Obtain the default initialization settings for the default implementation of the Memory Manager. 更多...
 
AKSOUNDENGINE_API void  AkCrtAllocatorInitForThread ()
 
AKSOUNDENGINE_API void  AkCrtAllocatorTermForThread ()
 
AKSOUNDENGINE_API void *  AkCrtAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void *  AkCrtAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void  AkCrtAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t  AkCrtAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t  AkCrtAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
AKSOUNDENGINE_API void  AkStompAllocatorInitForThread ()
 
AKSOUNDENGINE_API void  AkStompAllocatorTermForThread ()
 
AKSOUNDENGINE_API void *  AkStompAllocatorMalloc (AkMemPoolId poolId, size_t uSize)
 
AKSOUNDENGINE_API void *  AkStompAllocatorMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void *  AkStompAllocatorRealloc (AkMemPoolId poolId, void *pAddress, size_t uSize)
 
AKSOUNDENGINE_API void *  AkStompAllocatorReallocAligned (AkMemPoolId poolId, void *pAddress, size_t uSize, AkUInt32 uAlignment)
 
AKSOUNDENGINE_API void  AkStompAllocatorFree (AkMemPoolId poolId, void *pAddress)
 
AKSOUNDENGINE_API size_t  AkStompAllocatorTotalReservedMemorySize ()
 
AKSOUNDENGINE_API size_t  AkStompAllocatorSizeOfMemory (AkMemPoolId poolID, void *pAddress)
 
AKSOUNDENGINE_API AKRESULT  AkMemDebugToolInit ()
  debug tool hooks AkMemoryMgr 更多...
 
AKSOUNDENGINE_API void  AkMemDebugToolTerm ()
 
AKSOUNDENGINE_API void  AkMemDebugToolMalloc (AkMemPoolId poolId, size_t uSize, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolMalign (AkMemPoolId poolId, size_t uSize, AkUInt32 uAlignment, void *pAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolRealloc (AkMemPoolId poolId, void *pOldAddress, size_t uSize, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolReallocAligned (AkMemPoolId poolId, void *pOldAddress, size_t uSize, AkUInt32 uAlignment, void *pNewAddress, char const *pszFile, AkUInt32 uLine)
 
AKSOUNDENGINE_API void  AkMemDebugToolFree (AkMemPoolId poolId, void *pAddress)
 
Initialization
AKSOUNDENGINE_API bool  IsInitialized ()
 
AKSOUNDENGINE_API void  Term ()
 
AKSOUNDENGINE_API void  InitForThread ()
 
AKSOUNDENGINE_API void  TermForThread ()
 
Memory Allocation
AKSOUNDENGINE_API void *  dMalloc (AkMemPoolId in_poolId, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Malloc (AkMemPoolId in_poolId, size_t in_uSize)
 
AKSOUNDENGINE_API void *  dRealloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Realloc (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
 
AKSOUNDENGINE_API void *  dReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  ReallocAligned (AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize, AkUInt32 in_uAlignment)
 
AKSOUNDENGINE_API void  Free (AkMemPoolId in_poolId, void *in_pMemAddress)
 
AKSOUNDENGINE_API void *  dMalign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment, const char *in_pszFile, AkUInt32 in_uLine)
 
AKSOUNDENGINE_API void *  Malign (AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
 
Memory Profiling
AKSOUNDENGINE_API void  GetCategoryStats (AkMemPoolId in_poolId, CategoryStats &out_poolStats)
 
AKSOUNDENGINE_API void  GetGlobalStats (GlobalStats &out_stats)
 
AKSOUNDENGINE_API void  StartProfileThreadUsage ()
 
AKSOUNDENGINE_API AkUInt64  StopProfileThreadUsage ()
 
AKSOUNDENGINE_API void  DumpToFile (const AkOSChar *pszFilename)
 

详细描述

Memory Manager namespace.

备注
The functions in this namespace are thread-safe, unless stated otherwise.
参见

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅