]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: add Exponentially Weighted Moving Average implementation
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 24 May 2021 17:42:25 +0000 (17:42 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 25 May 2021 18:01:48 +0000 (18:01 +0000)
commit32f753f27032849de685c15c471034cbc945a544
tree5b7e16ef5afdd999c967f17453a44504682839ad
parentf4a145b136ad88f7a9f38e3f7732bc5a8b5cb517
LinuxKPI: add Exponentially Weighted Moving Average implementation

Add DECLARE_EWMA() which expands to a per-name EWMA implementation
as used by multiple wireless drivers.

Sposnored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: hselasky, cperciva, dwmalone
Differential Revision: https://reviews.freebsd.org/D30415
sys/compat/linuxkpi/common/include/linux/average.h [new file with mode: 0644]