//! The memory budget of an isolated instance on macOS, which has no public
//! per-process limit the kernel enforces: the parent samples the child's
//! physical footprint, the measure macOS itself reports and applies memory
//! pressure by, and ends the child once it reaches the budget.
use Duration;
/// How often the parent samples the child's footprint. The child can
/// allocate past the budget by what it allocates in one interval before it
/// ends; 10 ms keeps that small at a cost of one system call per sample.
pub const SAMPLE_INTERVAL: Duration = from_millis;
/// The physical footprint of a process in bytes, or None if it cannot be
/// read, as when the process has ended.
pub