|
Bifrost SDK
Bifrost SDK documentation
|
Helper class to ensure all profiler events have matching begin/end calls. More...
#include <RuntimeServices.h>
Public Member Functions | |
| ~ProfilerGuard () | |
| Destructor. More... | |
| ProfilerGuard (RuntimeServices const &rs, const char *eventName) | |
| Constructor. More... | |
| ProfilerGuard (RuntimeServices const &rs) | |
| Constructor. More... | |
Helper class to ensure all profiler events have matching begin/end calls.
The ProfilerGuard begins the even upon construction and ends the event upon destruction. It can be used like this:
Definition at line 330 of file RuntimeServices.h.
|
inline |
|
inlineexplicit |
|
inline |
Destructor.
Ends the profiling event.
Definition at line 345 of file RuntimeServices.h.
References Amino::RuntimeServices::profilerEventEnd().