C4 Engine Terathon Software C4 Engine API Documentation

• Memory Manager

API Links
Developer Links

Heap::GetTotalSize

Defined in:  C4Memory.h
Returns the total size of allocated blocks in a heap.
Prototype

unsigned_int32 GetTotalSize(voidconst;

Description
The GetTotalSize function returns the total number of bytes allocated by a heap. This size does not include per-block space overhead needed by the Memory Manager or any block padding.