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

Function hdr_max

deps/hdr_histogram/hdr_histogram.c:620–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618
619
620int64_t hdr_max(const struct hdr_histogram* h)
621{
622 if (0 == h->max_value)
623 {
624 return 0;
625 }
626
627 return highest_equivalent_value(h, h->max_value);
628}
629
630int64_t hdr_min(const struct hdr_histogram* h)
631{

Callers 2

showLatencyReportFunction · 0.85
hdr_percentiles_printFunction · 0.85

Calls 1

highest_equivalent_valueFunction · 0.85

Tested by

no test coverage detected