public long LowestEquivalentValue(long value) { var bucketIndex = GetBucketIndex(value); var subBucketIndex = GetSubBucketIndex(value, bucketIndex); return ValueFromIndex(bucketIndex, subBucketIndex); }
/// <summary> /// Get the lowest recorded value level in the histogram /// </summary> /// <returns>the Min value recorded in the histogram</returns> public static long GetMinValue(this HistogramBase histogram) { var min = histogram.RecordedValues().Select(hiv => hiv.ValueIteratedTo).FirstOrDefault(); return(histogram.LowestEquivalentValue(min)); }