Skip to content

hdr_value_at_percentile says 95th percentile of empty histogram is 63 #116

@lukeocamden

Description

@lukeocamden

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions