Counter Class Reference

Inheritance diagram for Counter:

Inheritance graph
[legend]
Collaboration diagram for Counter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Counter (char *t)
void update (memOop obj)
void print (char *prefix)
void add (Counter *i)

Static Public Member Functions

static int compare (Counter **a, Counter **b)

Public Attributes

char * title
int total_size
int number

Detailed Description

Definition at line 391 of file debug_prims.cpp.


Constructor & Destructor Documentation

Counter::Counter ( char *  t  )  [inline]

Definition at line 396 of file debug_prims.cpp.

References number, title, and total_size.


Member Function Documentation

void Counter::add ( Counter i  )  [inline]

Definition at line 410 of file debug_prims.cpp.

References number, and total_size.

Referenced by ObjectHistogram::print().

static int Counter::compare ( Counter **  a,
Counter **  b 
) [inline, static]

Definition at line 415 of file debug_prims.cpp.

Referenced by ObjectHistogram::print().

void Counter::print ( char *  prefix  )  [inline]

Definition at line 405 of file debug_prims.cpp.

References outputStream::fill_to(), number, oopSize, outputStream::print(), outputStream::print_cr(), std, title, and total_size.

Referenced by ObjectHistogram::print().

Here is the call graph for this function:

void Counter::update ( memOop  obj  )  [inline]

Definition at line 401 of file debug_prims.cpp.

References number, memOopDesc::size(), and total_size.

Referenced by ObjectHistogram::do_object().

Here is the call graph for this function:


Member Data Documentation

int Counter::number

Definition at line 395 of file debug_prims.cpp.

Referenced by add(), Counter(), print(), and update().

char* Counter::title

Definition at line 393 of file debug_prims.cpp.

Referenced by Counter(), and print().

int Counter::total_size

Definition at line 394 of file debug_prims.cpp.

Referenced by add(), Counter(), print(), and update().


The documentation for this class was generated from the following file:
Generated on Mon Oct 9 13:52:27 2006 for Strongtalk VM by  doxygen 1.4.7