Bruno Randolf
af55688435
lib: Improve EWMA efficiency by using bitshifts
...
Using bitshifts instead of division and multiplication should improve
performance. That requires weight and factor to be powers of two, but i think
this is something we can live with.
Thanks to Peter Zijlstra for the improved formula!
Signed-off-by: Bruno Randolf <br1@einfach.org>
--
v2: use log2.h functions
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-06 15:58:43 -05:00
..
2010-01-11 09:34:04 -08:00
2010-08-30 17:35:52 +10:00
2010-03-12 15:52:44 -08:00
2010-07-27 10:43:46 +01:00
2010-03-01 11:38:46 -08:00
2010-12-06 15:58:43 -05:00
2010-10-26 16:52:18 -07:00
2010-05-15 12:48:10 -07:00
2010-10-05 11:29:27 -07:00
2010-05-27 09:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-05-26 08:19:23 -07:00
2010-02-25 09:40:59 +01:00
2010-05-18 08:17:58 -07:00
2010-08-11 08:59:23 -07:00
2010-04-24 11:31:25 -07:00
2010-01-11 09:34:05 -08:00
2010-07-11 22:16:32 +02:00
2010-10-26 16:52:19 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 19:36:42 -07:00
2010-08-09 20:45:09 -07:00
2010-05-25 08:07:06 -07:00
2010-06-29 15:29:30 -07:00
2010-05-25 08:07:05 -07:00
2010-04-06 15:52:11 -07:00
2010-10-26 17:40:56 -07:00
2010-08-12 09:51:35 -07:00
2010-08-09 20:45:05 -07:00
2010-07-09 11:42:03 -07:00
2010-03-30 22:02:32 +09:00
2010-11-18 14:21:52 -05:00
2010-10-27 19:04:36 -07:00
2010-05-20 21:04:26 -05:00
2010-08-23 18:12:46 -07:00
2010-10-22 10:16:44 -07:00
2010-05-21 09:37:29 -07:00
2010-03-15 12:47:59 +01:00
2010-08-09 20:45:08 -07:00
2010-10-26 16:52:19 -07:00
2010-11-18 14:21:52 -05:00
2010-10-26 16:52:19 -07:00
2010-10-26 16:52:19 -07:00
2010-10-07 09:43:11 +02:00
2010-06-16 18:08:13 +02:00
2010-04-07 08:38:04 -07:00
2010-01-11 09:34:05 -08:00
2010-07-05 14:43:50 +02:00
2010-04-07 16:15:05 -07:00
2010-08-09 20:45:11 -07:00
2010-08-30 19:55:09 +02:00
2010-03-06 11:26:27 -08:00
2010-03-06 11:26:35 -08:00
2010-10-11 17:08:36 -04:00
2010-03-30 22:02:32 +09:00
2010-05-19 22:40:47 -04:00
2010-10-26 16:52:16 -07:00