This class keeps track execution time on specifics blocks of code during a complete session.
More...
This class keeps track execution time on specifics blocks of code during a complete session.
A session is defined by the time when the global profiler is enabled and the time is finished.
The execution time is recorded by thread/stage groups.
This class is NOT intended to be used (instantiated) within the shell functionality, but to be used as a global profiler which will record execution time associated to specific IDs and then print accumulated statistics.
Use it throught the following functions in the profiling namespace:
- activate
- deactivate
- stage_begin
- stage_end