struct _CryMemoryManagerPoolHelper { volatile LONG allocatedMemory; };
CryMemoryManager_impl.h
PoolHelper definition.
volatile LONG allocatedMemory;
Static variables.
static void FakeAllocation(long size);
static size_t Free(void * memblock, size_t alignment);
static IMemoryManager* GetIMemoryManager();
static void GetMemoryInfo(CryModuleMemoryInfo * pMmemInfo);
static void Init();
static void* Malloc(size_t size, size_t alignment);
Local version of allocations, does memory counting per module.
static size_t MemSize(void* ptr, size_t sz);
static void* Realloc(void * memblock, size_t size, size_t alignment);
typedef size_t (* FNC_CryCrtFree)(void *p);
typedef void * (* FNC_CryCrtMalloc)(size_t size);
typedef void * (* FNC_CryCrtRealloc)(void *p, size_t size);
typedef size_t (* FNC_CryCrtSize)(void *p);
typedef size_t (* FNC_CryFree)(void *p,size_t alignment);
typedef void (* FNC_CryGetIMemoryManagerInterface)(void **p);
typedef size_t (* FNC_CryGetMemSize)(void *p, size_t);
typedef size_t (*FNC_CryFree)(void);
typedef void * (* FNC_CryMalloc)(size_t size, size_t& allocated, size_t alignment);
typedef void * (* FNC_CryRealloc)(void *memblock, size_t size, size_t& allocated, size_t& oldsize, size_t alignment);
typedef int (* FNC_CryStats)(char *buf);