C# Class Protogame.FileProfiler

The default profiler.
Inheritance: IProfiler
Show file Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
FileProfiler ( ) : System

Initializes a new instance of the FileProfiler class.

Measure ( string name ) : IDisposable

The measure.

Private Methods

Method Description
BeginEvent ( string name ) : void

The begin event.

EndEvent ( DefaultProfilerHandle handle, string name ) : void

The end event.

Method Details

FileProfiler() public method

Initializes a new instance of the FileProfiler class.
public FileProfiler ( ) : System
return System

Measure() public method

The measure.
public Measure ( string name ) : IDisposable
name string /// The name. ///
return IDisposable