The number of milliseconds elapsed for current lap.
The number of time elapsed while this Stopwatch is/was running.
The number of milliseconds elapsed while this Stopwatch is/was running.
Returns true if the Stopwatch is currently active.
Marks the new lap time and returns the the elapsed time since the last lap (or start). Has no effect if the Stopwatch is stopped.
Resets this Stopwatch for reuse.
Starts this Stopwatch. If previously stopped but not reset, acts like resume.
Stops this Stopwatch. Can then be restarted. Elapsed time is cumulative.
Static
getSame as Date.now()
Static
measureMeasures the amount of time the closure takes before completion.
Static
startStarts a Stopwatch and returns it.
The current lap time.