num_cpus::linux

Function load_cgroups

source
fn load_cgroups<P1, P2>(cgroup_proc: P1, mountinfo_proc: P2) -> Option<usize>
where P1: AsRef<Path>, P2: AsRef<Path>,