#include <cpuTrace.h>
Inheritance diagram for CpuTrace::
Public Methods | |
CpuTrace () | |
Default constructor. | |
virtual | ~CpuTrace () |
Destructor. | |
virtual void | addCpuStat (jlong addHits, jlong addPureTime) |
Updates CPU 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 | |
Method * | method |
parent method. | |
List< CpuThreadTrace, LI3 > | threadTraces |
associated CpuThreadTraces. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
We decided to use different traces for memory and for cpu profiling, because it should be an option to have different granularity of traces (their trace frame stack depth) for each type of profiling.
Definition at line 55 of file cpuTrace.h.
|
Updates CPU statistics. Also updates CPU statistics of corresponding method.
Reimplemented from CpuStatData. Definition at line 43 of file cpuTrace.cpp. Referenced by CpuThreadTrace::addCpuStat().
|
|
Class identification.
Reimplemented from IdObject. Definition at line 115 of file cpuTrace.h. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 54 of file cpuTrace.cpp. Referenced by CpuThreadTrace::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 130 of file cpuTrace.h. |