#include <allocThreadMethod.h>
Inheritance diagram for AllocThreadMethod::
Public Methods | |
AllocThreadMethod () | |
Default constructor. | |
virtual | ~AllocThreadMethod () |
Destructor. | |
const AllocThreadMethodKey & | getKey (AllocThreadMethodKey &key) |
Retrieves object's key. More... | |
int | operator== (const AllocThreadMethodKey &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 AllocThreadMethodKey &key) |
Hash function. More... | |
Public Attributes | |
Thread * | thread |
parent thread. | |
Method * | method |
parent method. | |
List< AllocThreadObjectMethod, LI3 > | threadObjectMethods |
associated AllocThreadObjectMethods. | |
List< AllocThreadTrace, LI1 > | threadTraces |
associated AllocThreadTraces. | |
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 (doing an allocation) in each thread.
Definition at line 58 of file allocThreadMethod.h.
|
Class identification.
Reimplemented from IdObject. Definition at line 146 of file allocThreadMethod.h. |
|
Retrieves object's key.
Definition at line 54 of file allocThreadMethod.cpp. |
|
Hash function.
Definition at line 66 of file allocThreadMethod.cpp. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 71 of file allocThreadMethod.cpp. Referenced by AllocThreadTrace::isActive(), and AllocThreadObjectMethod::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 161 of file allocThreadMethod.h. |
|
Compares object with given key.
Definition at line 61 of file allocThreadMethod.cpp. |