MCPcopy Create free account
hub / github.com/argumentcomputer/ix / leaf

Function leaf

crates/kernel/src/shard.rs:2409–2411  ·  view source on GitHub ↗
(id: u32)

Source from the content-addressed store, hash-verified

2407pub 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).
2411pub 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

Calls

no outgoing calls

Tested by 3