From: Ben Pfaff <blp@cs.stanford.edu>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Bruno Randolf <br1@einfach.org>,
linux-kernel@vger.kernel.org, akpm <akpm@linux-foundation.org>
Subject: Re: [PATCH] Add generic exponentially weighted moving average function
Date: Thu, 14 Oct 2010 20:40:24 -0700 [thread overview]
Message-ID: <87y6a0unrr.fsf@benpfaff.org> (raw)
In-Reply-To: <20101012173352.0a458c24.randy.dunlap@oracle.com> (Randy Dunlap's message of "Tue, 12 Oct 2010 17:33:52 -0700")
Randy Dunlap <randy.dunlap@oracle.com> writes:
> On Wed, 06 Oct 2010 18:32:25 +0900 Bruno Randolf wrote:
>
>> This adds a generic exponentially weighted moving average function. This
>> implementation makes use of a structure which keeps a scaled up internal
>> representation to reduce rounding errors.
>>
>> The idea for this implementation comes from the rt2x00 driver (rt2x00link.c)
>> and i would like to use it in several places in the mac80211 and ath5k code.
>
> I guess I don't understand "exponentially weighted" or why that would
> be desirable. Please try to explain (briefly).
I wrote up a fairly non-brief explanation of exponentially
weighted moving averages a few years ago:
http://www.stanford.edu/class/cs140/projects/pintos/pintos_7.html#SEC134
--
Ben Pfaff
http://benpfaff.org
next prev parent reply other threads:[~2010-10-15 4:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 9:32 [PATCH] Add generic exponentially weighted moving average function Bruno Randolf
2010-10-13 0:33 ` Randy Dunlap
2010-10-13 2:10 ` Bruno Randolf
2010-10-13 16:33 ` Randy Dunlap
2010-10-15 3:40 ` Ben Pfaff [this message]
2010-10-15 14:41 ` Randy Dunlap
2010-10-13 14:01 ` kevin granade
2010-10-14 1:19 ` Bruno Randolf
2010-10-15 13:55 ` kevin granade
2010-10-18 3:27 ` Bruno Randolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6a0unrr.fsf@benpfaff.org \
--to=blp@cs.stanford.edu \
--cc=akpm@linux-foundation.org \
--cc=br1@einfach.org \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).