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

MonTrace Class Reference

Trace for monitor profiling. More...

#include <monTrace.h>

Inheritance diagram for MonTrace::

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

Public Methods

 MonTrace ()
 Default constructor.

virtual ~MonTrace ()
 Destructor.

virtual void addMonStat (jlong addHits, jlong addTime)
 Updates monitor statistics. More...

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< MonThreadTrace, LI3threadTraces
 associated MonThreadTraces.


Static Private Attributes

Allocator _allocator
 allocator.


Detailed Description

Trace for monitor 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.

Author:
Petr Luner

Definition at line 55 of file monTrace.h.


Member Function Documentation

void MonTrace::addMonStat jlong    addHits,
jlong    addTime
[virtual]
 

Updates monitor statistics.

Also updates monitor statistics of corresponding method.

Parameters:
addHits  number of hits to be added
addTime  wait time to be added

Reimplemented from MonStatData.

Definition at line 43 of file monTrace.cpp.

Referenced by MonThreadTrace::addMonStat().

virtual eClassIdent MonTrace::getClassIdent   [inline, virtual]
 

Class identification.

Returns:
unique class type identifier

Reimplemented from IdObject.

Definition at line 115 of file monTrace.h.

int MonTrace::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 54 of file monTrace.cpp.

Referenced by MonThreadTrace::isActive().

virtual int MonTrace::isChanged   [inline, virtual]
 

Indication that object has changed its data.

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

Reimplemented from IdObject.

Definition at line 130 of file monTrace.h.


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