Function quota

pub(in ::sys::thread::unix) fn quota() -> usize

Returns cgroup CPU quota in core-equivalents, rounded down or usize::MAX if the quota cannot be determined or is not set.