Skip to main content

WARMUP_SECS

Constant WARMUP_SECS 

Source
const WARMUP_SECS: f64 = 1.5;
Expand description

Minimum accumulated observation time before any rate is reported.

Below this the average is dominated by whatever the first interval happened to contain, so RateEstimator::rate_bps reports None and callers render a placeholder instead of a number that is about to change by an order of magnitude.