Arbor 3: FSM & BT Graph Editor 3.1.0

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ProfilerScope Struct Reference

Disposable helper class that manages the Profiler.BeginSample / EndSample. 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 ()
| Dispose. More...

## Static Public Member Functions
static void | BeginSample (string name)
static void | EndSample ()

## Public Attributes
bool | _Disposed

## 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 | ( | string | name | ) |

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

Parameters

  name | The name of the sampling

## Member Function Documentation

static void BeginSample | ( | string | name | ) |
| static

void Dispose | ( |  | ) |

Dispose.

static void EndSample | ( |  | ) |
| static

## Member Data Documentation

bool _Disposed