Struct block_cluster_metrics_data
Defined in File block_cluster_metrics_data.hpp
Inheritance Relationships
Base Type
public rmetrics::base_data
Struct Documentation
-
struct block_cluster_metrics_data : public rmetrics::base_data
Public Functions
-
inline explicit block_cluster_metrics_data(size_t n_clusters)
-
inline block_cluster_metrics_data &operator+=(const block_cluster_metrics_data &rhs)
Accumulate data. We ignore the “cum” field on
rhs
, and accumulate into our “cum” field using the “interval” field ofrhs
.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).
-
inline explicit block_cluster_metrics_data(size_t n_clusters)