Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

sicmutils.util.stopwatch


elapsedclj/s

(elapsed sw)
(elapsed sw unit)

Wrapper that handles a default implementation.

Wrapper that handles a default implementation.
raw docstring

IStopwatchclj/sprotocol

-elapsedclj/s

(-elapsed this unit)

Displays the current elapsed time in the supplied units.

Displays the current elapsed time in the supplied units.

reprclj/s

(repr this)

Prints a string representation of the stopwatch.

Prints a string representation of the stopwatch.

resetclj/s

(reset this)

running?clj/s

(running? this)

startclj/s

(start this)

stopclj/s

(stop this)

stopwatchclj/s

(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.
raw docstring

Stopwatchcljs


unitsclj/s

Allowed units of time, ordered from most precise to least.

Allowed units of time, ordered from most precise to least.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close