Skip to main content

RESTORE_RATE_SAMPLE_CAP

Constant RESTORE_RATE_SAMPLE_CAP 

Source
pub const RESTORE_RATE_SAMPLE_CAP: u32 = 20;
Expand description

How many restore measurements one adapter’s throughput average is worth.

Past this, the running totals are halved before the new sample is added, so the average follows the machine rather than remembering a disk it no longer has. A plain lifetime mean would quote a spinning-rust number years after the SSD went in.