MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / hdr_min

Function hdr_min

deps/hdr_histogram/hdr_histogram.c:630–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630int64_t hdr_min(const struct hdr_histogram* h)
631{
632 if (0 < hdr_count_at_index(h, 0))
633 {
634 return 0;
635 }
636
637 return non_zero_min(h);
638}
639
640int64_t hdr_value_at_percentile(const struct hdr_histogram* h, double percentile)
641{

Callers 1

showLatencyReportFunction · 0.85

Calls 2

hdr_count_at_indexFunction · 0.85
non_zero_minFunction · 0.85

Tested by

no test coverage detected