-
Vladimir Davydov authored
This: rmean_mean(s->rmean->stats[VY_STAT_TX_WRITE].value); looks cumbersome. Let's rewrite the rmean api to make it look like this: rmean_mean(s->rmean, VY_STAT_TX_WRITE); Also, introduce rmean_total() helper.
Vladimir Davydov authoredThis: rmean_mean(s->rmean->stats[VY_STAT_TX_WRITE].value); looks cumbersome. Let's rewrite the rmean api to make it look like this: rmean_mean(s->rmean, VY_STAT_TX_WRITE); Also, introduce rmean_total() helper.