47 void Update(
const char *name,
int sizeReq,
int sizeActual);
Table of allocation totals by tag, filled from a HeapTracker for a report.
Definition blockstattable.h:21
void SortBySize()
Sort the totals by bytes allocated, largest first.
BlockStatTable(bool separateSizes)
Create an empty table.
@ kMaxStats
Definition MemStats.h:13
void Update(const char *name, int sizeReq, int sizeActual)
Add an allocation to the total of its name, starting a total when none matches.
void Clear()
Empty the table.
void SortByName()
Sort the totals by name.
BlockStat & GetBlockStat(int iStat)
Report a total.
int NumStats() const
Report the number of totals.
Definition MemStats.h:68
Totals of the tracked allocations of one tag.
Definition blockstattable.h:8