(id: u32)
| 2407 | pub const RAM_GIB_PER_BCOST: f64 = 0.2845; |
| 2408 | /// Usable fraction of a host-RAM budget (headroom for OS + variance) — applied |
| 2409 | /// to whatever budget the caller gives (explicit `--max-ram`, or detected |
| 2410 | /// system RAM by default). |
| 2411 | pub const RAM_USABLE_FRAC: f64 = 0.85; |
| 2412 | |
| 2413 | /// Predicted peak prover RAM (GiB) for a leaf of `cost` **actual** guest cost |
| 2414 | /// units (for predicted cost, multiply by [`COST_MODEL_HEADROOM`] first to |
no outgoing calls