Skip to main content

parse_slice_cpus

Function parse_slice_cpus 

Source
pub fn parse_slice_cpus(properties: &str, host: u64) -> Option<u64>
Expand description

The CPUs, in millicores, that systemctl show’s EffectiveCPUs, AllowedCPUs and CPUQuotaPerSecUSec lines leave a slice on a host with host CPUs; None when a value does not parse.