class RateProperty

Defined at line 21 of file ../../src/devices/block/drivers//ftl/metrics.h

Helper property wrapper that caches the value, in order to update

the inspect property with the correct value, since properties are write only.

Public Methods

void RateProperty (inspect::DoubleProperty property)

Defined at line 23 of file ../../src/devices/block/drivers//ftl/metrics.h

double rate ()

Returns the accumulated rate as a weighted rate.

Defined at line 26 of file ../../src/devices/block/drivers//ftl/metrics.h

void Add (int extra_accumulated)

Updates the accumulated rate.

Defined at line 29 of file ../../src/devices/block/drivers//ftl/metrics.h