Class execution_metrics_collector
Defined in File execution_metrics_collector.hpp
Inheritance Relationships
Base Types
public rmetrics::base_collector
public rer::client< execution_metrics_collector >
Class Documentation
-
class execution_metrics_collector : public rmetrics::base_collector, public rer::client<execution_metrics_collector>
Collector for metrics for an executable task across executions of that task.
Metrics CAN be collected in parallel from robots; concurrent updates to the gathered stats are supported. Metrics are output at the specified interval
Public Functions
-
explicit execution_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink)
- Parameters:
sink – The metrics sink to use.
-
void collect(const rmetrics::base_metrics &metrics) override
-
inline const rmetrics::base_data *data(void) const override
-
void reset_after_interval(void) override
-
explicit execution_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink)