#include <UT_Memory.h>
Static Public Member Functions | |
| static void | printMemory (char *buffer, const char *label, size_t used, size_t peak, int indent=3) |
| static size_t | printMemory (UT_WorkBuffer &buffer, SYS_MemoryTable &table, int indent=3, bool sort_by_peak=false) |
Definition at line 41 of file UT_Memory.h.
| static size_t UT_Memory::printMemory | ( | UT_WorkBuffer & | buffer, | |
| SYS_MemoryTable & | table, | |||
| int | indent = 3, |
|||
| bool | sort_by_peak = false | |||
| ) | [static] |
Print an entire table of memory users. This printer assumes that each user's label will fit into a 15 character buffer (for formatting) The total memory accounted for is returned.
| static void UT_Memory::printMemory | ( | char * | buffer, | |
| const char * | label, | |||
| size_t | used, | |||
| size_t | peak, | |||
| int | indent = 3 | |||
| ) | [static] |
Print the memory in a "nice" (well at least standard) format. The buffer passed in should be at least 80 characters long.
1.5.9