If this stopwatch was started at any some point.
This will return true
even if the stopwatch is stopped.
Time complexity: O(1)
Space complexity: O(1)
Return the duration elapsed since the start.
Time complexity: O(1)
Space complexity: O(1)
The amount of time elapsed in milliseconds.
Start recording the duration of this stopwatch.
Time complexity: O(1)
Space complexity: O(1)
Create a new stopwatch and start it.
Time complexity: O(1)
Space complexity: O(1)
Generated using TypeDoc
Helper to record the amount of time elapsed between 2 points during execution.