deno.com

interface RecordableHistogram

extends Histogram

Methods #

#record(val: number | bigint): void
#recordDelta(): void

Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram.

#add(other: RecordableHistogram): void

Adds the values from other to this histogram.