15 #ifndef __UT_PerfMonAutoEvent__
16 #define __UT_PerfMonAutoEvent__
32 myShouldStopEvents =
true;
37 if (!myShouldStopEvents)
69 bool myShouldStopEvents;
98 const char *cook_event_name =
nullptr,
99 bool profile_recording_only =
false)
125 const char *
path,
const char *pdg_event_name=NULL)
153 const SIM_Solver *solver,
const char *solver_event_name=NULL)
179 const char *
object,
const char *draw_event_name,
bool is_gpu_draw=
false)
208 const char *viewport_name,
const char *draw_event_name,
217 viewport_name, draw_event_name, viewport_type,
225 viewport_name, draw_event_name, viewport_type,
240 bool auto_nest_events=
true)
248 code_description, script_type, auto_nest_events));
255 code_description, script_type, auto_nest_events));
266 const char *code_description,
bool auto_nest_events=
true)
281 int node_id,
const char *code_description,
290 node_id, code_description, script_type));
297 node_id, code_description, script_type));
310 const char *renderer,
const char *operation,
311 bool is_renderer_a_node,
int frame_num,
const char *
object=NULL)
319 renderer, operation, is_renderer_a_node,
327 renderer, operation, is_renderer_a_node,
397 const char *panetype,
const char *operation)
UT_PerfMonAutoCookEvent(int node_id, const char *cook_event_name=nullptr, bool profile_recording_only=false)
void setNodeId(int node_id)
Convenience class for object draw events.
UT_PerfMonAutoPaneEvent(const char *panetype, const char *operation)
UT_PerfMonAutoNodeScriptEvent(int node_id, const char *code_description, UT_PerfMonScriptType script_type)
GLsizei const GLchar *const * path
~UT_PerfMonAutoPDGCookEvent()
~UT_PerfMonAutoHAPIEvent()
int getMemoryEventId() const
UT_PerfMonAutoScriptEvent(const char *code_description, UT_PerfMonScriptType script_type, bool auto_nest_events=true)
UT_PerfMonAutoViewportDrawEvent(const char *viewport_name, const char *draw_event_name, UT_PerfMonViewportType viewport_type, bool is_gpu_draw=false)
~UT_PerfMonAutoSolveEvent()
void setMemoryEventId_(int event_id)
Convenience class for pdg cook events.
UT_PerfMonAutoPDGCookEvent(const char *path, const char *pdg_event_name=NULL)
~UT_PerfMonAutoCookEvent()
Convenience class for DOP solve events.
Convenience class for general events.
~UT_PerfMonAutoDrawEvent()
Convenience class for viewport draw events.
Convenience class for render events.
Convenience class for node creation events.
~UT_PerfMonAutoNodeCreationEvent()
Convenience class for node cook events.
UT_PerfMonAutoHAPIEvent(const char *code_description, bool auto_nest_events=true)
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
~UT_PerfMonAutoPaneEvent()
UT_PerfMonAutoSolveEvent(const SIM_Solver *solver, const char *solver_event_name=NULL)
void setExtraInfo(const char *extra_info)
UT_PerfMonViewportType
Viewport types recognized by the performance monitor.
Convenience class for HAPI events.
Convenience class for pane events.
void setTimedEventId_(int event_id)
~UT_PerfMonAutoGeneralEvent()
UT_PerfMonAutoDrawEvent(const char *object, const char *draw_event_name, bool is_gpu_draw=false)
~UT_PerfMonAutoScriptEvent()
Convenience class for script events.
~UT_PerfMonAutoRenderEvent()
UT_PerfMonAutoNodeCreationEvent()
UT_PerfMonScriptType
Script types recognized by the performance monitor.
~UT_PerfMonAutoNodeScriptEvent()
~UT_PerfMonAutoViewportDrawEvent()
Convenience class for script events tied to nodes.
void setShouldBaseClassStopEvents_(bool stop)
UT_PerfMonAutoRenderEvent(const char *renderer, const char *operation, bool is_renderer_a_node, int frame_num, const char *object=NULL)
UT_PerfMonAutoGeneralEvent(const char *event, const char *object)
int getTimedEventId() const