A simple stopwatch interface to measure elapsed time.
Properties
- elapsed → Duration
-
read-only
Returns the
elapsedTicks
counter converted to aDuration
. - elapsedMicroseconds → int
-
read-only
Returns the
elapsedTicks
counter converted to microseconds. - elapsedMilliseconds → int
-
read-only
Returns the
elapsedTicks
counter converted to milliseconds. - elapsedTicks → int
-
read-only
Returns the elapsed number of clock ticks since calling
start
while theStopwatch
is running.… - frequency → int
-
read-only
Frequency of the elapsed counter in Hz.
- isRunning → bool
-
read-only
Returns wether the
StopWatch
is currently running.