C# Class Emlid.WindowsIot.Common.StopwatchExtensions

Extensions to the Stopwatch class.
Exibir arquivo Open project: emlid/Navio-SDK-Windows-IoT

Public Properties

Property Type Description
TicksPerMicrosecond double

Public Methods

Method Description
ElapsedMicroseconds ( this timer ) : long

Gets the total elapsed time in microseconds.

GetTimestampInMicroseconds ( ) : long

Gets the total elapsed time in microseconds.

Method Details

ElapsedMicroseconds() public static method

Gets the total elapsed time in microseconds.
public static ElapsedMicroseconds ( this timer ) : long
timer this
return long

GetTimestampInMicroseconds() public static method

Gets the total elapsed time in microseconds.
public static GetTimestampInMicroseconds ( ) : long
return long

Property Details

TicksPerMicrosecond public_oe static_oe property

Number of Stopwatch.ElapsedTicks in a microsecond.
public static double TicksPerMicrosecond
return double