ros2_control - rolling
Loading...
Searching...
No Matches
hardware_interface::HardwareComponentStatisticsCollector Struct Reference

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

#include <statistics_types.hpp>

Public Member Functions

void reset_statistics ()
 Resets the internal statistics of the execution time and periodicity statistics collectors.

Public Attributes

std::shared_ptr< ros2_control::MovingAverageStatistics > execution_time = nullptr
 Execution time statistics collector.
std::shared_ptr< ros2_control::MovingAverageStatistics > periodicity = nullptr
 Periodicity statistics collector.
std::shared_ptr< ros2_control::TimeWindowStatistics > recent_periodicity = nullptr
std::shared_ptr< ros2_control::TimeWindowStatistics > recent_execution_time = nullptr

Detailed Description

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

Member Data Documentation

◆ recent_execution_time

std::shared_ptr<ros2_control::TimeWindowStatistics> hardware_interface::HardwareComponentStatisticsCollector::recent_execution_time = nullptr

Execution time statistics collector (in us) over a recent time window, disabled until its duration is set (see ResourceManagerParams::hardware_components_statistics_window_duration)

◆ recent_periodicity

std::shared_ptr<ros2_control::TimeWindowStatistics> hardware_interface::HardwareComponentStatisticsCollector::recent_periodicity = nullptr

Periodicity statistics collector over a recent time window, disabled until its duration is set (see ResourceManagerParams::hardware_components_statistics_window_duration)


The documentation for this struct was generated from the following file: