Skip to main content

physical_cpu_count

Function physical_cpu_count 

Source
pub fn physical_cpu_count() -> usize
Expand description

Get the number of physical CPU cores.

Uses num_cpus::get_physical() as there is no std equivalent.