LatencyFilter.push

Pushes a new latency datum into the filter window for a node, and returns the current median value from the filter.

struct LatencyFilter(T, U, size_t window)
@safe
U
push
(
const T node
,
const U rtt
)
if (
isHashKey!T &&
isFloatingPoint!U
&&
window > 0
)

Meta