Class HighResolutionTimer
Provides access to a high-resolution, time measuring device.
Namespace: Swan.Diagnostics
Syntax
public class HighResolutionTimer : Stopwatch
  Constructors
HighResolutionTimer()
Initializes a new instance of the HighResolutionTimer class.
Declaration
public HighResolutionTimer()
  Exceptions
| Type | Condition | 
|---|---|
| NotSupportedException | High-resolution timer not available.  | 
      
Properties
ElapsedMicroseconds
Gets the elapsed microseconds.
Declaration
public long ElapsedMicroseconds { get; }
  Property Value
| Type | Description | 
|---|---|
| Int64 | 
MicrosecondsPerTick
Gets the number of microseconds per timer tick.
Declaration
public static double MicrosecondsPerTick { get; }
  Property Value
| Type | Description | 
|---|---|
| Double |