Johannes Berg eb1e011a14 average: change to declare precision, not factor
Declaring the factor is counter-intuitive, and people are prone
to using small(-ish) values even when that makes no sense.

Change the DECLARE_EWMA() macro to take the fractional precision,
in bits, rather than a factor, and update all users.

While at it, add some more documentation.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-03-02 08:32:46 +01:00
..
2017-01-22 16:46:13 -05:00
2017-02-27 18:43:47 -08:00
2017-02-28 15:36:09 -08:00
2016-12-03 23:54:25 -05:00
2017-02-21 13:25:22 -05:00
2017-03-01 20:55:57 -08:00
2016-12-25 17:21:22 +01:00
2017-02-27 18:43:47 -08:00
2017-02-20 11:13:37 -05:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2017-02-10 14:31:51 -05:00