Re: [PATCH v3] Add generic exponentially weighted moving average (EWMA) function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, October 21, 2010 - 3:04 am

On Thu, 2010-10-21 at 14:40 +0900, Bruno Randolf wrote:

Ah, thanks. It might be worth adding some of that explanation to the
actual comment.

I think the naming is somewhat unfortunate since a weighted average
makes me think of:

       \Sum w_i * v_i
 wa = ---------------
         \Sum w_i

Instead of the described algorithm.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v3] Add generic exponentially weighted moving a ..., Peter Zijlstra, (Thu Oct 21, 3:04 am)