
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
HdrHistogram(long, int, long)
Initialises an HDR histogram with explicit range and significant digits.
HighestTrackableValue
Gets the inclusive highest permitted value.
LowestDiscernibleValue
Gets the lowest discernible value.
Max
Gets the observed maximum, or zero when empty.
Min
Gets the observed minimum, or zero when empty.
SignificantDigits
Gets configured significant decimal digits.
TotalCount
Gets total observations.
EnumerateDistribution()
Enumerates logarithmic sub-bucket representative values and counts.
MergeFrom(HdrHistogram)
Merges a compatible histogram.
RecordValue(long, long)
Records a value, rejecting values outside the configured range.
ValueAtPercentile(double)
Returns the value at a percentile in the inclusive range 0 to 100.