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