LLMemType Class Reference

#include <llmemtype.h>

List of all members.

Public Types

 MTYPE_INIT
 MTYPE_STARTUP
 MTYPE_MAIN
 MTYPE_IMAGEBASE
 MTYPE_IMAGERAW
 MTYPE_IMAGEFORMATTED
 MTYPE_APPFMTIMAGE
 MTYPE_APPRAWIMAGE
 MTYPE_APPAUXRAWIMAGE
 MTYPE_DRAWABLE
 MTYPE_OBJECT
 MTYPE_VERTEX_DATA
 MTYPE_SPACE_PARTITION
 MTYPE_PIPELINE
 MTYPE_AVATAR
 MTYPE_PARTICLES
 MTYPE_REGIONS
 MTYPE_INVENTORY
 MTYPE_ANIMATION
 MTYPE_NETWORK
 MTYPE_PHYSICS
 MTYPE_INTERESTLIST
 MTYPE_SCRIPT
 MTYPE_SCRIPT_RUN
 MTYPE_SCRIPT_BYTECODE
 MTYPE_IO_PUMP
 MTYPE_IO_TCP
 MTYPE_IO_BUFFER
 MTYPE_IO_HTTP_SERVER
 MTYPE_IO_SD_SERVER
 MTYPE_IO_SD_CLIENT
 MTYPE_IO_URL_REQUEST
 MTYPE_TEMP1
 MTYPE_TEMP2
 MTYPE_TEMP3
 MTYPE_TEMP4
 MTYPE_TEMP5
 MTYPE_TEMP6
 MTYPE_TEMP7
 MTYPE_TEMP8
 MTYPE_TEMP9
 MTYPE_OTHER
 MTYPE_NUM_TYPES
 MTYPE_MAX_DEPTH = 64
enum  EMemType {
  MTYPE_INIT, MTYPE_STARTUP, MTYPE_MAIN, MTYPE_IMAGEBASE,
  MTYPE_IMAGERAW, MTYPE_IMAGEFORMATTED, MTYPE_APPFMTIMAGE, MTYPE_APPRAWIMAGE,
  MTYPE_APPAUXRAWIMAGE, MTYPE_DRAWABLE, MTYPE_OBJECT, MTYPE_VERTEX_DATA,
  MTYPE_SPACE_PARTITION, MTYPE_PIPELINE, MTYPE_AVATAR, MTYPE_PARTICLES,
  MTYPE_REGIONS, MTYPE_INVENTORY, MTYPE_ANIMATION, MTYPE_NETWORK,
  MTYPE_PHYSICS, MTYPE_INTERESTLIST, MTYPE_SCRIPT, MTYPE_SCRIPT_RUN,
  MTYPE_SCRIPT_BYTECODE, MTYPE_IO_PUMP, MTYPE_IO_TCP, MTYPE_IO_BUFFER,
  MTYPE_IO_HTTP_SERVER, MTYPE_IO_SD_SERVER, MTYPE_IO_SD_CLIENT, MTYPE_IO_URL_REQUEST,
  MTYPE_TEMP1, MTYPE_TEMP2, MTYPE_TEMP3, MTYPE_TEMP4,
  MTYPE_TEMP5, MTYPE_TEMP6, MTYPE_TEMP7, MTYPE_TEMP8,
  MTYPE_TEMP9, MTYPE_OTHER, MTYPE_NUM_TYPES
}
enum  { MTYPE_MAX_DEPTH = 64 }

Public Member Functions

 LLMemType (EMemType type)
 ~LLMemType ()

Static Public Member Functions

static void reset ()
static void printMem ()

Static Public Attributes

static S32 sTotalMem = 0
static S32 sMaxTotalMem = 0


Detailed Description

Definition at line 59 of file llmemtype.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
MTYPE_MAX_DEPTH 

Definition at line 117 of file llmemtype.h.

enum LLMemType::EMemType

Enumerator:
MTYPE_INIT 
MTYPE_STARTUP 
MTYPE_MAIN 
MTYPE_IMAGEBASE 
MTYPE_IMAGERAW 
MTYPE_IMAGEFORMATTED 
MTYPE_APPFMTIMAGE 
MTYPE_APPRAWIMAGE 
MTYPE_APPAUXRAWIMAGE 
MTYPE_DRAWABLE 
MTYPE_OBJECT 
MTYPE_VERTEX_DATA 
MTYPE_SPACE_PARTITION 
MTYPE_PIPELINE 
MTYPE_AVATAR 
MTYPE_PARTICLES 
MTYPE_REGIONS 
MTYPE_INVENTORY 
MTYPE_ANIMATION 
MTYPE_NETWORK 
MTYPE_PHYSICS 
MTYPE_INTERESTLIST 
MTYPE_SCRIPT 
MTYPE_SCRIPT_RUN 
MTYPE_SCRIPT_BYTECODE 
MTYPE_IO_PUMP 
MTYPE_IO_TCP 
MTYPE_IO_BUFFER 
MTYPE_IO_HTTP_SERVER 
MTYPE_IO_SD_SERVER 
MTYPE_IO_SD_CLIENT 
MTYPE_IO_URL_REQUEST 
MTYPE_TEMP1 
MTYPE_TEMP2 
MTYPE_TEMP3 
MTYPE_TEMP4 
MTYPE_TEMP5 
MTYPE_TEMP6 
MTYPE_TEMP7 
MTYPE_TEMP8 
MTYPE_TEMP9 
MTYPE_OTHER 
MTYPE_NUM_TYPES 

Definition at line 63 of file llmemtype.h.


Constructor & Destructor Documentation

LLMemType::LLMemType ( EMemType  type  )  [inline]

Definition at line 120 of file llmemtype.h.

References llendl, llerrs, MTYPE_MAX_DEPTH, and MTYPE_NUM_TYPES.

LLMemType::~LLMemType (  )  [inline]

Definition at line 132 of file llmemtype.h.


Member Function Documentation

void LLMemType::printMem (  )  [static]

Definition at line 147 of file llmemory.cpp.

References i, llendl, llformat(), llinfos, MTYPE_NUM_TYPES, S32, sMaxTotalMem, and sTotalMem.

static void LLMemType::reset (  )  [static]


Member Data Documentation

S32 LLMemType::sMaxTotalMem = 0 [static]

Definition at line 155 of file llmemtype.h.

Referenced by LLMemoryView::dumpData(), and printMem().

S32 LLMemType::sTotalMem = 0 [static]

Definition at line 154 of file llmemtype.h.

Referenced by LLMemoryView::draw(), LLMemoryView::dumpData(), and printMem().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:30 2010 for Second Life Viewer by  doxygen 1.4.7