new Stopwatch( [options])
Creates a started Stopwatch
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
StopwatchProperties |
<optional> |
Extends
- EventEmitter
Methods
-
end()
-
Called to mark the end of the timer task
Returns:
the total execution time
- Type
- number
Measured