C# Class VoxelTerrain.PerformanceTimer

Allows high-resolution time measurement.
Afficher le fichier Open project: barograf/VoxelTerrain Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
QueryPerformanceCounter ( long &performanceCount ) : bool
QueryPerformanceFrequency ( long &performanceFrequency ) : bool

Method Details

GetAbsoluteTime() public méthode

Computes absolute time.
public GetAbsoluteTime ( ) : double
Résultat double

GetDeltaTime() public méthode

Computes time between two calls of this method.
public GetDeltaTime ( ) : double
Résultat double

GetTime() public méthode

Computes relative time.
public GetTime ( ) : double
Résultat double

PerformanceTimer() public méthode

Creates a timer.
public PerformanceTimer ( ) : System.Runtime.InteropServices
Résultat System.Runtime.InteropServices