667/// Start a event. 668/// Subclasses must call this method when starting their own events.669intstartEvent_(670constUT_StringHolder&event,671constUT_StringHolder&object,672boolauto_nest_events,673UT_PerfMonCategorycategory,674UT_PerfMonEventTypetype,675UT_PerfMonObjectTypeobject_type,676constUT_StringHolder&object_icon,677int*frame_num=NULL,678constUT_StringHolder&extra_info=UT_StringHolder::theEmptyString);
Try this, from the UT_Performance class itself, i haven't tried it yet, i have recently switched to linux and have to setup the build environment, but i guess you have to set true to auto_nest_events, and it will start nesting the events based on time of call and scope, you will also find solve category in the perf mon category enum.