Arbor 3: FSM & BT Graph Editor  3.7.8
ProfilerScope Struct Reference

Disposable helper class that manages the Profiler.BeginSample / EndSample. More...

Inherits IDisposable.

Public Member Functions

 ProfilerScope (string name)
 Create a new ProfilerScope, to start the sampling of the profiler. More...
 
void Dispose ()
 Dispose. More...
 

Detailed Description

Disposable helper class that manages the Profiler.BeginSample / EndSample.

Simple to use the using You can write Profiler.BeginSample / EndSample.

Constructor & Destructor Documentation

◆ ProfilerScope()

ProfilerScope ( string  name)

Create a new ProfilerScope, to start the sampling of the profiler.

Parameters
nameThe name of the sampling

Member Function Documentation

◆ Dispose()

void Dispose ( )

Dispose.