C# Class VoxelTerrain.PerformanceTimer

Allows high-resolution time measurement.
Show file Open project: barograf/VoxelTerrain Class Usage Examples

Public Methods

Method Description
GetAbsoluteTime ( ) : double

Computes absolute time.

GetDeltaTime ( ) : double

Computes time between two calls of this method.

GetTime ( ) : double

Computes relative time.

PerformanceTimer ( ) : System.Runtime.InteropServices

Creates a timer.

Private Methods

Method Description
QueryPerformanceCounter ( long &performanceCount ) : bool
QueryPerformanceFrequency ( long &performanceFrequency ) : bool

Method Details

GetAbsoluteTime() public method

Computes absolute time.
public GetAbsoluteTime ( ) : double
return double

GetDeltaTime() public method

Computes time between two calls of this method.
public GetDeltaTime ( ) : double
return double

GetTime() public method

Computes relative time.
public GetTime ( ) : double
return double

PerformanceTimer() public method

Creates a timer.
public PerformanceTimer ( ) : System.Runtime.InteropServices
return System.Runtime.InteropServices