(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close