#include <cpuThreadTrace.h>
Inheritance diagram for CpuThreadTrace::
Public Methods | |
CpuThreadTrace () | |
Default constructor. | |
virtual | ~CpuThreadTrace () |
Destructor. | |
virtual void | addCpuStat (jlong addHits, jlong addPureTime) |
Updates CPU statistics. More... | |
const CpuThreadTraceKey & | getKey (CpuThreadTraceKey &key) |
Retrieves object's key. More... | |
int | operator== (const CpuThreadTraceKey &key) |
Compares object with given key. 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. | |
Static Public Methods | |
int | hashKey (const CpuThreadTraceKey &key) |
Hash function. More... | |
Public Attributes | |
CpuThreadMethod * | threadMethod |
parent CpuThreadMethod. | |
CpuTrace * | trace |
parent CpuTrace. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of statistic information about a trace while running in the thread. Same trace can run in different threads. So it would be useful to have an information about each trace in each thread.
Definition at line 53 of file cpuThreadTrace.h.
|
Updates CPU statistics. Also updates CPU statistics of corresponding CpuTrace and CpuThreadMethod.
Reimplemented from CpuStatData. Definition at line 44 of file cpuThreadTrace.cpp. |
|
Class identification.
Reimplemented from IdObject. Definition at line 144 of file cpuThreadTrace.h. |
|
Retrieves object's key.
Definition at line 56 of file cpuThreadTrace.cpp. |
|
Hash function.
Definition at line 68 of file cpuThreadTrace.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 73 of file cpuThreadTrace.cpp. |
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 159 of file cpuThreadTrace.h. |
|
Compares object with given key.
Definition at line 63 of file cpuThreadTrace.cpp. |