Function std::sys::unix::thread::cgroups::quota

source ·
pub(super) fn quota() -> usize
Expand description

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