RecordableHistogram extends Histogram
History
histogram.add(other): void
RecordableHistogramAdds the values from other to this histogram.
histogram.record
History
0 is now supported.histogram.record(val): void
Values smaller than the histogram's lowest option, including 0, might not
be distinguishable from each other.
histogram.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.
histogram.recordCorrected(val, expectedInterval): void
Records a value with coordinated omission correction. When a system stall
prevents timely recording, this method backfills intermediate values at
expectedInterval steps between the previously recorded value and val.
This compensates for measurement gaps that would otherwise underrepresent
latency.
histogram.subtract(other): void
RecordableHistogramSubtracts the values of other from this histogram. Both histograms should
have compatible configurations. Bucket counts that would become negative
are clamped to zero. Increments histogram.resetCount.