Section navigation

Public classSealed HdrHistogram

Namespace
Rowles.LeanCorpus.Search.Aggregations
Assembly
Rowles.LeanCorpus.dll

Mergeable HDR-style logarithmic histogram for non-negative Int64 values. Values are mapped to power-of-two buckets and fixed-size sub-buckets, giving bounded relative precision across orders of magnitude without fixed-width bins.

public sealed class HdrHistogram
Inheritance
HdrHistogram

Public constructor HdrHistogram(long, int, long)

Initialises an HDR histogram with explicit range and significant digits.

Public property HighestTrackableValue

Gets the inclusive highest permitted value.

Public property LowestDiscernibleValue

Gets the lowest discernible value.

Public property Max

Gets the observed maximum, or zero when empty.

Public property Min

Gets the observed minimum, or zero when empty.

Public property SignificantDigits

Gets configured significant decimal digits.

Public property TotalCount

Gets total observations.

Public method EnumerateDistribution()

Enumerates logarithmic sub-bucket representative values and counts.

Public method MergeFrom(HdrHistogram)

Merges a compatible histogram.

Public method RecordValue(long, long)

Records a value, rejecting values outside the configured range.

Public method ValueAtPercentile(double)

Returns the value at a percentile in the inclusive range 0 to 100.