#include <cpuThreadMethod.h>
Inheritance diagram for CpuThreadMethod::
Public Methods | |
CpuThreadMethod () | |
Default constructor. | |
virtual | ~CpuThreadMethod () |
Destructor. | |
virtual void | addCpuStat (jlong addHits, jlong addPureTime) |
Updates CPU statistics. More... | |
const CpuThreadMethodKey & | getKey (CpuThreadMethodKey &key) |
Retrieves object's key. More... | |
int | operator== (const CpuThreadMethodKey &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 CpuThreadMethodKey &key) |
Hash function. More... | |
Public Attributes | |
Thread * | thread |
parent thread. | |
Method * | method |
parent method. | |
List< CpuThreadTrace, LI2 > | threadTraces |
associated CpuThreadTraces. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class consists of statistic information about method while running in the thread. Same method can run in different threads. So it would be useful to have an information about each method in each thread.
Definition at line 55 of file cpuThreadMethod.h.
|
Updates CPU statistics. Also updates CPU statistics of corresponding method.
Reimplemented from CpuStatData. Definition at line 44 of file cpuThreadMethod.cpp. Referenced by CpuThreadTrace::addCpuStat().
|
|
Class identification.
Reimplemented from IdObject. Definition at line 148 of file cpuThreadMethod.h. |
|
Retrieves object's key.
Definition at line 61 of file cpuThreadMethod.cpp. |
|
Hash function.
Definition at line 74 of file cpuThreadMethod.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 79 of file cpuThreadMethod.cpp. Referenced by CpuThreadTrace::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 163 of file cpuThreadMethod.h. |
|
Compares object with given key.
Definition at line 69 of file cpuThreadMethod.cpp. |