rt: the idle preprocess bytes' doc names the pool's 64 MiB bound and its quarter-second free

Gauges::preprocess_idle_bytes said at most 128 MiB and zero only once the device is dropped. The
bound is indirect::IDLE_BYTES (64 MiB), and the block-maker thread frees each idle region after
memory::IDLE_AGE_NANOS (250 ms), so the gauge falls to zero at rest. Found from code by the
consumer's gauge lane; read against indirect.rs:58-67 and memory.rs:64. Doc only.
This commit is contained in:
Anees Iqbal committed 2026-11-21 08:23:43 -08:00
1 parent 793d321e7e
commit d20c812bed
1 file changed
+3 -2
+3 -2
View File
@@ -2873,7 +2873,8 @@ pub struct Gauges {
/// Bytes of the preprocess regions executions of indirect command buffers hold: each taken
/// at an execution's record and given back when its command buffer completes.
pub preprocess_used_bytes: u64,
/// Bytes of the preprocess regions no execution holds, kept for the next ones, at most 128
/// MiB; zero once the device is dropped.
/// Bytes of the preprocess regions no execution holds, kept for the next ones, at most 64 MiB.
/// A region idle for a quarter of a second is freed, so this falls to zero at rest; zero once
/// the device is dropped.
pub preprocess_idle_bytes: u64,
}