Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.TmrCycles

Summary

A timer measuring the number of CPU clock cycles consumed by the calling thread between the calls. To ensure correct operation, the timer must be instantiated on the same thread on which the measurements will be performed. See Remarks on Tmr<T>.

Constructors

Constructor. Calibrates the timer. To ensure correct operation, the timer must be instantiated on the same thread on which the measurements will be performed.

Instance methods

TmrCycles Makes sure the timer is running without zeroing the time reading. If the reading is non-zero, it will continue growing. This method may be called while the timer is already running.
TmrCycles Pauses the timer without zeroing it. This method may be called while the timer is already paused, but a single call to TmrCycles.Continue() is always sufficient to resume the timer.
TmrCyclesResets the timer and makes sure it's running. The current state of the timer is irrelevant.
TmrCyclesMakes sure the timer is not running and zeroes it. The current state of the timer is irrelevant.
TmrCyclesResets the timer back to zero.