Crate num_cpus [−] [src]
Replaces the deprecated functionality of std::os::num_cpus.
Functions
get |
Returns the number of CPUs of the current machine. |
get_physical |
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. |