Class MovingAverageStatisticsData
Defined in File statistics_types.hpp
Class Documentation
-
class MovingAverageStatisticsData
Data structure to store the statistics of a moving average. The data is protected by a mutex and the data can be updated and retrieved.
Public Functions
-
inline MovingAverageStatisticsData()
Update the statistics data with the new statistics data.
- Parameters:
statistics – statistics collector to update the current statistics data.
-
inline void set_reset_statistics_sample_count(unsigned int reset_sample_count)
Set the number of samples to reset the statistics.
- Parameters:
reset_sample_count – number of samples to reset the statistics.
-
inline void reset()
-
inline const StatisticData &get_statistics() const
Get the statistics data.
- Returns:
statistics data.
-
inline MovingAverageStatisticsData()