Liking cljdoc? Tell your friends :D
Clojure only.

jvm-hiccup-meter.core


start-hiccup-meterclj

(start-hiccup-meter callback-fn & {:keys [resolution-ms]})

Start the hiccup meter thread. It will continuosly sleep every resolution-ms milliseconds (10 by default) and call callback-fn with the presumed hiccup time in nanoseconds.

Returns a nullary function which when called terminates the measuring thread.

Start the hiccup meter thread. It will continuosly sleep every `resolution-ms`
milliseconds (10 by default) and call `callback-fn` with the presumed hiccup
time in nanoseconds.

Returns a nullary function which when called terminates the measuring thread.
sourceraw docstring

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

× close