26 while (m_values.size() >= m_maxCount)
28 m_average = ((m_average * m_count) - m_values.dequeue()) / (m_count - 1);
31 m_values.enqueue(Value);
33 m_average = ((m_average * m_count) + Value) / (m_count + 1);
TorcAverage(int MaxCount=0)
Compute a running average.