Arbor: State Diagram Editor  2.2.0
ProfilerScope Struct Reference

Profiler.BeginSample / EndSampleを管理するDisposable ヘルパークラス。 More...

Inheritance diagram for ProfilerScope:

Public Member Functions

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

Static Public Member Functions

static void BeginSample (string name)
 
static void EndSample ()
 

Public Attributes

bool m_Disposed
 

Detailed Description

Profiler.BeginSample / EndSampleを管理するDisposable ヘルパークラス。

usingを使用して簡略してProfiler.BeginSample / EndSampleを記述できます。

Constructor & Destructor Documentation

ProfilerScope ( string  name)

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

Parameters
nameThe name of the sampling

Member Function Documentation

static void BeginSample ( string  name)
static
void Dispose ( )
static void EndSample ( )
static

Member Data Documentation

bool m_Disposed