HdrHistogram_c
HdrHistogram_c copied to clipboard
hdr_value_at_percentile says 95th percentile of empty histogram is 63
Steps to repro:
hdr_histogram* histogram;
hdr_init(100, 10 * 1000 * 1000, 3, &histogram);
std::cout << hdr_value_at_percentile(histogram, 95) << std::endl;
Is there a more intuitive value that could be returned here eg zero?
I have noticed some weird behaviour with empty histograms. I'll need to check with the behaviour of the Java implementation.