OmegaEngine API
1.0.3
|
Struct that allows you to profile timed execution blocks. More...
Public Member Functions | |
ProfilerEvent (Func< string > getName) | |
Starts a new profiler event with a certain name. More... | |
ProfilerEvent (string name) | |
Starts a new profiler event with a certain name. More... | |
void | Dispose () |
Ends the event. More... | |
Struct that allows you to profile timed execution blocks.
Do not use these over cross!
|
inline |
Starts a new profiler event with a certain name.
getName | A delegate for getting the name of the event. |
|
inline |
Starts a new profiler event with a certain name.
name | The name of the event. |
|
inline |
Ends the event.