Skip to main content

get_averages

Function get_averages 

Source
pub fn get_averages() -> Option<(f64, f64)>
Expand description

Compute average download and upload speeds from history (last 20 entries). Returns (avg_dl_mbps, avg_ul_mbps) or None if insufficient data.