UT_Memory Class Reference

#include <UT_Memory.h>

List of all members.

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)


Detailed Description

Definition at line 41 of file UT_Memory.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:51 2012 for HDK by  doxygen 1.5.9