Liking cljdoc? Tell your friends :D

jvm-alloc-rate-meter.core


start-alloc-rate-meterclj

(start-alloc-rate-meter callback-fn & {:keys [interval-ms]})

Start the allocation meter thread. It will measure the heap object allocation rate every interval-ms (1000 by default) and call callback-fn with the allocation rate in bytes/sec. Note that the rate will not be reported every interval-ms as the iterations that happen accross a GC cycle are discarded.

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

Start the allocation meter thread. It will measure the heap object allocation
rate every `interval-ms` (1000 by default) and call `callback-fn` with the
allocation rate in bytes/sec. Note that the rate will not be reported every
`interval-ms` as the iterations that happen accross a GC cycle are discarded.

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