|
MxEngine
|
#include <Profiler.h>
Public Member Functions | |
| ScopeProfiler (ProfileSession &profiler, const char *function) | |
| ~ScopeProfiler () | |
scope profiler is a class which measures how much time take the function execution it saves timestep om its creation, and writes json entry to ProfileSession on its destruction
|
inline |
creates scope profiler and fixes timepoint as start of function call
| profiler | reference to json profile logger |
| function | function name which is measured |
|
inline |
destroyed scope profiler, forcing it to write json entry to profiler
1.8.12