[ovs-dev] [PATCH v2 07/28] mov-avg: Add a moving average helper structure

Maxime Coquelin maxime.coquelin at redhat.com
Wed Apr 21 16:48:42 UTC 2021



On 4/12/21 5:19 PM, Gaetan Rivet wrote:
> Add a new module offering a helper to compute the Cumulative
> Moving Average (CMA) and the Exponential Moving Average (EMA)
> of a series of values.
> 
> Use the new helpers to add latency metrics in dpif-netdev.
> 
> Signed-off-by: Gaetan Rivet <grive at u256.net>
> Reviewed-by: Eli Britstein <elibr at nvidia.com>
> ---
>  lib/automake.mk |   1 +
>  lib/mov-avg.h   | 171 ++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 172 insertions(+)
>  create mode 100644 lib/mov-avg.h
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list