Returns the current time with the highest resolution possible. On Windows systems it returns the same value as GetCurrentTime()()().

Namespace:  Quanser.Common
Assembly:  Quanser.Common (in Quanser.Common.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetHighResolutionTime As Timeout
C#
public static Timeout GetHighResolutionTime()
Visual C++
public:
static Timeout^ GetHighResolutionTime()
JavaScript
Quanser.Common.Timeout.getHighResolutionTime = function();

Return Value

Returns the current high-resolution time as an absolute Timeout instance.

Exceptions

ExceptionCondition
Quanser.Common..::.GenericException A GenericException is thrown if the high-resolution absolute time cannot be retrieved from the underlying operating system. Such an exception indicates an incompatible hardware configuration or a catastrophic system failure. Both situations are highly unlikely.

See Also