Child

inner class Child(buckets: List<Double>)

Represents a labeled instance of the histogram, allowing for operations on specific label sets.

Constructors

Link copied to clipboard
constructor(buckets: List<Double>)

Functions

Link copied to clipboard

Retrieves the current state of the histogram.

Link copied to clipboard
suspend fun observe(value: Double)

Observes a value and records it in the histogram.

Link copied to clipboard

Starts a timer for measuring the duration of an operation.

Link copied to clipboard
suspend fun time(runnable: Runnable): Double

Starts a timer for measuring the duration of an operation and returns the elapsed time in seconds.