AddMemoryStat is an optimization function for memory heap statistics and increments the bytes allocated for the memory statistics.
Parameters |
Description |
unsigned statId |
Integer identifier of allocation category. |
UPInt alloc |
Bytes to be allocated for the allocation. |
UPInt use |
Bytes to be used for maintaining the header and space alignment. |
A Boolean value of true if the memory allocation statistics is incremented otherwise false.