The XTimer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | XTimer |
Creates a new timer.
|
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.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | ThreadSleepResolutionCount |
The enhanced delay time for thread sleeping in the count of pulses (Sleep(Int32)).
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | Frequency |
Gets the pulse frequency of the timer.
|
![]() | IsRunning |
Gets whether the timer is running (is not stopped).
|
![]() ![]() | Resolution |
Returns the timer resolution - how many seconds takes a place between two pulses.
|
![]() | SampleElapsedTime |
Returns time in seconds which elapsed between this and last call Sample()()().
|
![]() | SampleElapsedTimeCount |
Returns time in the count of pulses which elapsed between this and last call Sample()()().
|
![]() | SampleElapsedTimeF |
The time in seconds as Single which elapsed between this and last call Sample()()().
|
![]() | SampleSystemTimeCount |
Gets time on the timer during the last call Sample()()() in the count of pulses.
|
![]() | SampleTime |
Gets time on the timer during the last call Sample()()() in seconds.
|
![]() | SampleTimeCount |
Gets time on the timer during the last call Sample()()() in the count of pulses.
|
![]() | SampleTimeF |
Gets time on the timer during the last call Sample()()() in seconds as Single.
|
![]() | SyncRoot | |
![]() ![]() | SystemTime |
Returns the system time in seconds.
|
![]() ![]() | SystemTimeCount |
Returns the system time as the count of pulses (Frequency).
|
![]() ![]() | SystemTimeF |
Returns the system time in seconds.
|
![]() | Time |
Gets the current time on the timer in seconds.
|
![]() | TimeCount |
Gets the current time on the timer in the count of pulses.
|
![]() | TimeF |
Gets the current time on the timer in seconds as Single.
|
![]() | TimeMs |
Gets the current time on the timer in miliseconds.
|
![]() | TimeMsF |
Gets the current time on the timer in miliseconds as Single.
|