Function num_cpus::get
[−]
[src]
pub fn get() -> usize
Returns the number of available CPUs of the current system.
Note
This will check sched affinity on Linux.