Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

AllocTrace Class Reference

Trace for memory profiling. More...

#include <allocTrace.h>

Inheritance diagram for AllocTrace::

LI1 LI2 AllocStatData Trace IdObject ListItem ListItem DataBinaryFormat StatDataModification InfoBinaryFormat RefCount RefCount List of all members.

Public Methods

 AllocTrace ()
 Default constructor.

virtual ~AllocTrace ()
 Destructor.

void deactivate ()
 Performs deactivation.

void * operator new (size_t sz)
 Overloaded new() operator.

void operator delete (void *unit)
 Overloaded delete() operator.

virtual eClassIdent getClassIdent ()
 Class identification. More...

virtual int isActive ()
 State of object. More...

virtual int isChanged ()
 Indication that object has changed its data. More...

virtual void setUnchanged ()
 Set the structure is unchanged although it may not be.


Public Attributes

Methodmethod
 parent method.

List< AllocObjectTrace, LI1objectTraces
 associated AllocObjectTraces.

List< AllocThreadTrace, LI3threadTraces
 associated AllocObjectTraces.


Static Private Attributes

Allocator _allocator
 allocator.


Detailed Description

Trace for memory profiling.

This class is a descendant of Trace class. It is used in memory profiling. We decided to use different traces for memory, cpu and monitor profiling, because it should be an option to have different granularity of traces (their trace frame stack depth) for each type of profiling.

See also:
Trace, Method, AllocObjectTrace
Author:
Marek Przeczek, Petr Luner

Definition at line 59 of file allocTrace.h.


Member Function Documentation

virtual eClassIdent AllocTrace::getClassIdent   [inline, virtual]
 

Class identification.

Returns:
unique class type identifier

Reimplemented from IdObject.

Definition at line 114 of file allocTrace.h.

int AllocTrace::isActive   [virtual]
 

State of object.

Once an object is unactive, it remains unactive forever.

Returns:
0 (not active); 1 (active)

Reimplemented from IdObject.

Definition at line 47 of file allocTrace.cpp.

Referenced by AllocThreadTrace::isActive(), and AllocObjectTrace::isActive().

virtual int AllocTrace::isChanged   [inline, virtual]
 

Indication that object has changed its data.

Returns:
0 (no change); 1 (data changed)

Reimplemented from IdObject.

Definition at line 129 of file allocTrace.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 14:53:28 2002 for Java Profiler Dynamic Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001