common_config::utils

Function get_cpus

Source
pub fn get_cpus() -> usize
Expand description

Get the CPU core number of system, aware of cgroups.