Skip to main content

left

Function left 

Source
pub fn left(limit: u64, reserved: u64, stalled: bool) -> i64
Expand description

What a host limit leaves new runners beside the reserved memory of what runs in the slice: negative by what they reserve past it, none while the host is stalled. A runner that stops gives its reservation back to this, so a deficit stays owed rather than hidden by HostBudget::spare, which stops at 0.