Summary
A timer measuring the number of real-time seconds elapsed between the calls. See Remarks on
Tmr<T>.
Constructors
Instance methods
TmrSeconds | |
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. |
TmrSeconds | |
Pauses the timer without zeroing it. This method may be called while the timer is already paused, but a single
call to TmrSeconds.Continue() is always sufficient to resume the timer. |
TmrSeconds | | Resets the timer and makes sure it's running. The current state of the timer is irrelevant. |
TmrSeconds | | Makes sure the timer is not running and zeroes it. The current state of the timer is irrelevant. |
TmrSeconds | | Resets the timer back to zero. |
Instance properties
double | |
Gets the current reading of the timer. This value increases between consecutive reads while the timer is running,
and remains fixed while it's paused. |
double | |
Gets the reading the timer had just before the last call to any of the methods of this class related to zeroing,
pausing and resuming the timer. |