CallTimes

class CallTimes

The time a kind of call took, by name, cumulative: <name> nanos and <name> calls among a step's counters, so a window's growth gives its mean (means, <name>Ms). A diagnostic of where a store call's time goes: the store's round trip, the whole call, the wait before it.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun add(name: String, took: Long)

One name call of took nanoseconds.

Link copied to clipboard

Every name's nanoseconds and calls so far.

Link copied to clipboard
fun <T> time(name: String, block: () -> T): T

Runs block, its time counted as one name call.