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-02-27 14:09:49 +01:00
2017-02-09 15:17:30 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2017-02-10 14:31:51 -05:00
2017-02-09 15:18:24 +01:00
2015-05-11 19:16:04 +02:00
2014-04-09 14:49:43 +02:00
2016-12-13 16:05:09 +01:00
2017-02-27 14:09:26 +01:00
2017-02-09 15:17:30 +01:00
2012-03-13 14:54:16 -04:00