Module num_cpus

Source
Expand description

Get the number of CPUS on a machine.

See crate ::num_cpus.

Functionsยง

get
Returns the number of available CPUs of the current system.
get_physical
Returns the number of physical cores of the current system.