end
ProfilerInterface::end
Ends a profiling session and returns the result.
Declaration
virtual ProfilerResultNode end() = 0;
Parameters
None.
Returns
The root’s ProfilerResultNode. It represents the complete profiling session, with its name
equal to the one given with the previous Profiler’s start or Script’s startProfiling function call and totalTime
being the time of the entire session. meanTime
, minTimeIndex
, minTime
, maxTimeIndex
and maxTime
will be equal to 0.
The profiling blocks of this session are hierarchically available in children
.
This function will end the profiling session and reset the profiler’s times, the profiler will need to be started again with Profiler’s start or Script’s startProfiling functions if needed.