pub fn physical_cpu_count() -> usize
Get the number of physical CPU cores.
Uses num_cpus::get_physical() as there is no std equivalent.
num_cpus::get_physical()