(elapsed sw)(elapsed sw unit)Wrapper that handles a default implementation.
Wrapper that handles a default implementation.
(-elapsed this unit)Displays the current elapsed time in the supplied units.
Displays the current elapsed time in the supplied units.
(repr this)Prints a string representation of the stopwatch.
Prints a string representation of the stopwatch.
(reset this)(running? this)(start this)(stop this)(stopwatch & {:keys [started?] :or {started? true}})Returns a platform-specific implementation of IStopwatch. In Clojure, returns
an instance of Guava's Stopwatch class. Clojurescript receives a homerolled
stopwatch.
Returns a platform-specific implementation of IStopwatch. In Clojure, returns an instance of Guava's `Stopwatch` class. Clojurescript receives a homerolled stopwatch.
Allowed units of time, ordered from most precise to least.
Allowed units of time, ordered from most precise to least.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |