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

Function counts_get_normalised

deps/hdr_histogram/hdr_histogram.c:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static int64_t counts_get_normalised(const struct hdr_histogram* h, int32_t index)
56{
57 return counts_get_direct(h, normalize_index(h, index));
58}
59
60static void counts_inc_normalised(
61 struct hdr_histogram* h, int32_t index, int64_t value)

Callers 3

hdr_count_at_valueFunction · 0.85
hdr_count_at_indexFunction · 0.85
move_nextFunction · 0.85

Calls 2

counts_get_directFunction · 0.85
normalize_indexFunction · 0.85

Tested by

no test coverage detected