The XTimer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Reset |
Resets the timer.
| |
| Sample |
Samples the current timer.
| |
| Start |
Starts the timer.
| |
| Stop |
Stops the timer.
| |
| SystemTimeCountAdvance |
Calculates time in the count of pulses delayed by delta.
| |
| SystemTimeCountDifference |
Gets a difference between to times in the count of pulses.
| |
| SystemTimeDifference |
Returns a difference in seconds.
| |
| SystemTimeDifferenceF |
Returns a difference in seconds as Single.
| |
| SystemWait |
Blocks the callee for systemTimeDelta seconds.
| |
| SystemWaitCount |
Blocks the callee for systemTimeDelta pulses.
| |
| SystemWaitTill |
Blocks the callee to systemTime seconds.
| |
| SystemWaitTillCount |
Blocks the callee to systemTime pulses.
| |
| ToCount |
Translates time in seconds to the count of pulses.
| |
| ToDouble |
Translates time in the count of pulses to seconds.
| |
| ToString | (Inherited from Object.) | |
| Wait |
Suspends the current thread.
| |
| WaitCount |
Suspends the current thread.
| |
| WaitForRunning |
Suspends the current thread until the timer is running (Start()()()).
| |
| WaitTill |
Suspends the current thread until the timer reachs the given value.
| |
| WaitTillCount |
Suspends the current thread until the timer reachs the given value.
|