bool AddMemoryStat(unsigned statId, const MemoryStat& stat);
AddMemoryStat is an optimization function for memory heap statistics and adds the statistics of another memory statistics object to the current one.
Parameters |
Description |
unsigned statId |
Integer identifier of allocation category. |
const MemoryStat& stat |
Memory heap statistics which is added to the current statistics object. |
A Boolean value of true if the memory statistics are added otherwise false.