Struct block_transporter_metrics_data

Inheritance Relationships

Base Type

  • public rmetrics::base_data

Struct Documentation

struct block_transporter_metrics_data : public rmetrics::base_data

Public Functions

inline block_transporter_metrics_data &operator+=(const block_transporter_metrics_data &rhs)

Accumulate data. We ignore the “cum” field on rhs, and accumulate into our “cum” field using the “interval” field of rhs.

This is the most meaningful semantics I could come up with; I couldn’t find a way to justify accumulating already cumulative data again (it would have required some additional changes/contortions elsewhere).