C# Class Microsoft.Automata.Internal.Utilities.HighTimer

High precision timer
Datei anzeigen Open project: AutomataDotNet/Automata

Public Methods

Method Description
ToSeconds ( long ticks ) : double

Returns the duration in seconds

ToSeconds ( long start, long end ) : double

Returns the duration of the timer (in seconds)

ToSecondsFromNow ( long start ) : double

Returns the duration in seconds from start

Private Methods

Method Description
HighTimer ( ) : System

Method Details

ToSeconds() public static method

Returns the duration in seconds
public static ToSeconds ( long ticks ) : double
ticks long The ticks.
return double

ToSeconds() public static method

Returns the duration of the timer (in seconds)
public static ToSeconds ( long start, long end ) : double
start long
end long
return double

ToSecondsFromNow() public static method

Returns the duration in seconds from start
public static ToSecondsFromNow ( long start ) : double
start long The start.
return double