> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Saturday, 20 April 2024 00.45
>
> On Fri, 19 Apr 2024 20:49:56 +0200
> Morten Brørup wrote:
>
> > > - /*
> > > - * The average latency is measured using exponential moving
> > > - * average, i.e. usin
On Fri, 19 Apr 2024 20:49:56 +0200
Morten Brørup wrote:
> > - /*
> > -* The average latency is measured using exponential moving
> > -* average, i.e. using EWMA
> > -* https://en.wikipedia.org/wiki/Moving_average
> > -*/
> > - gl
> + if (unlikely(first_sample)) {
> + first_sample = false;
> +
> glob_stats->min_latency = latency;
> - else if (latency > glob_stats->max_latency)
> glob_stats->max_latency = latency;
> - /*
> -
3 matches
Mail list logo