#include <allocTrace.h>
Inheritance diagram for AllocTrace::
Public Methods | |
AllocTrace () | |
Default constructor. | |
virtual | ~AllocTrace () |
Destructor. | |
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< AllocObjectTrace, LI1 > | objectTraces |
associated AllocObjectTraces. | |
List< AllocThreadTrace, LI3 > | threadTraces |
associated AllocObjectTraces. | |
Static Private Attributes | |
Allocator | _allocator |
allocator. |
This class is a descendant of Trace class. It is used in memory 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.
Definition at line 59 of file allocTrace.h.
|
Class identification.
Reimplemented from IdObject. Definition at line 114 of file allocTrace.h. |
|
State of object. Once an object is unactive, it remains unactive forever.
Reimplemented from IdObject. Definition at line 47 of file allocTrace.cpp. Referenced by AllocThreadTrace::isActive(), and AllocObjectTrace::isActive().
|
|
Indication that object has changed its data.
Reimplemented from IdObject. Definition at line 129 of file allocTrace.h. |