|
| UT_PerfMonMemoryEvent (int id, const UT_StringHolder &name, const UT_StringHolder &object, bool auto_nest_events, UT_PerfMonCategory category, UT_PerfMonObjectType object_type, const UT_StringHolder &object_icon=UT_StringHolder::theEmptyString, const UT_StringHolder &extra_info=UT_StringHolder::theEmptyString, int frame_num=UT_PERFORMANCE_INVALID_FRAME) |
|
| ~UT_PerfMonMemoryEvent () override |
|
void | getFormattedString (UT_PerfMonLogTimeFormat time_format, UT_String &str_event) const override |
| Format the event into a pretty string that can be outputted in a log. More...
|
|
| UT_PerfMonEvent (int id, const UT_StringHolder &name, const UT_StringHolder &object, bool auto_nest_events, UT_PerfMonCategory category, UT_PerfMonEventType type, UT_PerfMonObjectType object_type, const UT_StringHolder &object_icon=UT_StringHolder::theEmptyString, const UT_StringHolder &extra_info=UT_StringHolder::theEmptyString, int frame_num=UT_PERFORMANCE_INVALID_FRAME) |
|
virtual | ~UT_PerfMonEvent () |
|
| UT_PerfMonEvent (const UT_PerfMonEvent &)=delete |
|
UT_PerfMonEvent & | operator= (const UT_PerfMonEvent &)=delete |
|
int | id () const |
| Return the unique id assigned by the performance monitor. More...
|
|
int | frameNum () const |
| Return the frame number in which the event occured. More...
|
|
const char * | name () const |
| Return the event name. More...
|
|
const char * | object () const |
| Return the object that the event applies to. More...
|
|
void | setObject (const UT_StringHolder &object) |
| Set the object that the event applies to. More...
|
|
const char * | objectIcon () const |
|
const char * | extraInfo () const |
|
void | setExtraInfo (const UT_StringHolder &extra_info) |
|
UT_PerfMonEventType | type () const |
| Return the event type. More...
|
|
UT_PerfMonObjectType | objectType () const |
| Return the event object type. More...
|
|
bool | isAutoNestEnabled () const |
| Return true if this event has automatic child event nesting enabled. More...
|
|
UT_PerfMonCategory | category () const |
| Return the category. More...
|
|
virtual bool | isTimedEvent () const |
| Return true if the event is a timed event. More...
|
|
void | start () |
|
void | stop () |
|
bool | isRunning () const |
|
fpreal | value () const |
|
fpreal | selfValue () const |
|
void | setValue (fpreal val) |
| Set the event value. More...
|
|
void | overrideValue (fpreal value) |
|
void | calculateSelfValue () |
|
void | appendChild (UT_PerfMonEvent *event) |
| Add a child event. More...
|
|
void | removeChild (UT_PerfMonEvent *event) |
|
void | removeChildren () |
| Remove all child events. More...
|
|
int | numChildren () const |
| Return the number of child events. More...
|
|
const UT_PerfMonEvent * | getChild (int index) const |
| Return the child at the given index. More...
|
|
UT_PerfMonEvent * | getChild (int index) |
|
void | appendParent (UT_PerfMonEvent *event) |
| Add a parent event. More...
|
|
void | removeParent (UT_PerfMonEvent *event) |
|
void | removeParents () |
| Remove all parent events. More...
|
|
int | numParents () const |
| Return the number of parent events. More...
|
|
const UT_PerfMonEvent * | getParent (int index) const |
| Return the parent at the given index. More...
|
|
UT_PerfMonEvent * | getParent (int index) |
|
virtual void | getUniversalLogEntry (UT_UniversalLogEntry &logentry) const |
| Format the event for the universal logging system. More...
|
|
Definition at line 26 of file UT_PerfMonMemoryEvent.h.