mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	Renamed the moving average of util section to avoid confusion
This commit is contained in:
		
							parent
							
								
									ba55803efd
								
							
						
					
					
						commit
						636ede56cf
					
				| @ -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
 | ||||
|  | ||||
| @ -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) | ||||
|     { } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user