quic_rtt (quic v1.10.0)

View Source

Summary

Functions

Whether a real sample has arrived, as opposed to the defaults.

Forget the estimate. A new path has its own characteristics, and carrying the old one over sizes probes for a route that is gone (RFC 9002 Section 9.4).

Take a sample. AckDelay is what the caller has already decided to subtract, in milliseconds.

Types

state/0

-opaque state()

Functions

has_sample(Rtt_state)

-spec has_sample(state()) -> boolean().

Whether a real sample has arrived, as opposed to the defaults.

latest(Rtt_state)

-spec latest(state()) -> non_neg_integer().

min(Rtt_state)

-spec min(state()) -> non_neg_integer() | infinity.

new()

-spec new() -> state().

new(InitialRTT)

-spec new(non_neg_integer()) -> state().

reset(Rtt_state)

-spec reset(state()) -> state().

Forget the estimate. A new path has its own characteristics, and carrying the old one over sizes probes for a route that is gone (RFC 9002 Section 9.4).

smoothed(Rtt_state)

-spec smoothed(state()) -> non_neg_integer().

update(Rtt_state, LatestRTT, AckDelay)

-spec update(state(), non_neg_integer(), non_neg_integer()) -> state().

Take a sample. AckDelay is what the caller has already decided to subtract, in milliseconds.

var(Rtt_state)

-spec var(state()) -> non_neg_integer().