Struct HardwareComponentStatisticsCollector

Struct Documentation

struct HardwareComponentStatisticsCollector

Data structure with two moving average statistics collectors. One for the execution time and the other for the periodicity.

Public Types

using MovingAverageStatisticsCollector = libstatistics_collector::moving_average_statistics::MovingAverageStatistics

Public Functions

inline HardwareComponentStatisticsCollector()
inline void reset_statistics()

Resets the internal statistics of the execution time and periodicity statistics collectors.

Public Members

std::shared_ptr<MovingAverageStatisticsCollector> execution_time = nullptr

Execution time statistics collector.

std::shared_ptr<MovingAverageStatisticsCollector> periodicity = nullptr

Periodicity statistics collector.