Nostalgia
2.1.5
|
Disposable helper class that manages the Profiler.BeginSample / EndSample. More...
Public Member Functions | |
ProfilerScope (string name) | |
Create a new ProfilerScope, to start the sampling of the profiler. More... | |
void | Dispose () |
Public Attributes | |
bool | m_Disposed |
Disposable helper class that manages the Profiler.BeginSample / EndSample.
Simple to use the using You can write Profiler.BeginSample / EndSample.
ProfilerScope | ( | string | name | ) |
Create a new ProfilerScope, to start the sampling of the profiler.
name | The name of the sampling |
void Dispose | ( | ) |
bool m_Disposed |