Crate num_cpus [−] [src]
Replaces the deprecated functionality of std::os::num_cpus.
Returns the number of CPUs of the current machine.
Returns the number of physical cores of the current machine. If not possible on the particular architecture returns same as get() which is the logical CPUs.