Function num_cpus::get_physical
[−]
[src]
pub fn get_physical() -> usize
Returns the number of physical cores of the current system.
If not possible on the particular architecture, returns same as get()
which is the logical CPUs.