1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Renamed the moving average of util section to avoid confusion

This commit is contained in:
f4exb 2017-11-06 01:02:20 +01:00
parent ba55803efd
commit 636ede56cf
2 changed files with 5 additions and 5 deletions

View File

@ -197,9 +197,9 @@ private:
int m_minOriginalBlocks; //!< (stats) minimum number of original blocks received since last poll
int m_curNbRecovery; //!< (stats) instantaneous number of recovery blocks used
int m_maxNbRecovery; //!< (stats) maximum number of recovery blocks used since last poll
MovingAverage<int, int, 10> m_avgNbBlocks; //!< (stats) average number of blocks received
MovingAverage<int, int, 10> m_avgOrigBlocks; //!< (stats) average number of original blocks received
MovingAverage<int, int, 10> m_avgNbRecovery; //!< (stats) average number of recovery blocks used
MovingAverageUtil<int, int, 10> m_avgNbBlocks; //!< (stats) average number of blocks received
MovingAverageUtil<int, int, 10> m_avgOrigBlocks; //!< (stats) average number of original blocks received
MovingAverageUtil<int, int, 10> m_avgNbRecovery; //!< (stats) average number of recovery blocks used
bool m_framesDecoded; //!< [stats] true if all frames were decoded since last poll
int m_readIndex; //!< current byte read index in frames buffer
int m_wrDeltaEstimate; //!< Sampled estimate of write to read indexes difference

View File

@ -25,10 +25,10 @@
#include <algorithm>
template <typename T, typename Total, int N>
class MovingAverage
class MovingAverageUtil
{
public:
MovingAverage()
MovingAverageUtil()
: m_num_samples(0), m_total(0)
{ }