AbstractHistogram
An abstract implementation of a histogram. By default, this class uses no-op implementations for all members unless overridden in a subclass.
Inherited functions
Link copied to clipboard
inline fun <T> DoubleHistogram.measureSeconds(attributes: Attributes = emptyAttributes(), context: Context? = null, block: () -> T): T
Measure how long block takes to execute and record the duration in seconds using millisecond precision.