Skip to main content

Module hist

Module hist 

Source
Expand description

Fixed-binning histograms with integer counts.

Counts are u64, so merging two histograms is an exact, associative and commutative sum: the merged result does not depend on how the samples were split between workers.

Structs§

Binning
Uniform binning of [lo, hi) into bins equal bins.
Histogram
Counts over a Binning, with underflow and overflow.
WeightedHistogram
Weighted sums over a Binning, with underflow and overflow.

Enums§

BinningError
Errors from building a Binning.
OutOfRange
Which side of a Binning a value fell on.