49 void GetStats(
int *nodeSize,
int *numAllocs,
int *maxAllocs,
int *capacity,
int *wasted);
66 void *RawAlloc(
int bytes);
Allocator of small blocks, with a FreeStore for each multiple of 16 bytes up to 2048.
Definition fixedsizealloc.h:12
FixedSizeAlloc(int allocSizeWords)
Create an empty allocator.
void Free(void *mem)
Return a node to the free list.
void * Alloc()
Take a node, refilling the free list from a new chunk when it is empty.
void GetStats(int *nodeSize, int *numAllocs, int *maxAllocs, int *capacity, int *wasted)
Report the allocator's use.
Free node of a FixedSizeAlloc.
Definition FixedSizeAlloc.h:4
FixedSizeNode * mNext
Definition FixedSizeAlloc.h:5