C# Класс VoxelTerrain.PerformanceTimer

Allows high-resolution time measurement.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
QueryPerformanceCounter ( long &performanceCount ) : bool
QueryPerformanceFrequency ( long &performanceFrequency ) : bool

Описание методов

GetAbsoluteTime() публичный Метод

Computes absolute time.
public GetAbsoluteTime ( ) : double
Результат double

GetDeltaTime() публичный Метод

Computes time between two calls of this method.
public GetDeltaTime ( ) : double
Результат double

GetTime() публичный Метод

Computes relative time.
public GetTime ( ) : double
Результат double

PerformanceTimer() публичный Метод

Creates a timer.
public PerformanceTimer ( ) : System.Runtime.InteropServices
Результат System.Runtime.InteropServices