C# Class Raspberry.Timers.HighResolutionTimer

Represents a high-resolution timer.
Inheritance: ITimer
Afficher le fichier Open project: raspberry-sharp/raspberry-sharp-system Class Usage Examples

Méthodes publiques

Méthode Description
HighResolutionTimer ( ) : System

Initializes a new instance of the HighResolutionTimer class.

Sleep ( System.TimeSpan delay ) : void

Sleeps the specified delay.

Start ( System.TimeSpan startDelay ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Private Methods

Méthode Description
Calibrate ( ) : int
NoOp ( ) : void
ThreadProcess ( ) : void

Method Details

HighResolutionTimer() public méthode

Initializes a new instance of the HighResolutionTimer class.
public HighResolutionTimer ( ) : System
Résultat System

Sleep() public static méthode

Sleeps the specified delay.
public static Sleep ( System.TimeSpan delay ) : void
delay System.TimeSpan The delay.
Résultat void

Start() public méthode

Starts this instance.
public Start ( System.TimeSpan startDelay ) : void
startDelay System.TimeSpan The delay before the first occurence, in milliseconds.
Résultat void

Stop() public méthode

Stops this instance.
public Stop ( ) : void
Résultat void