Skip to main content
num_cpus
ostd
In ostd::
cpu
ostd
::
cpu
Function
num_
cpus
Copy item path
Source
pub
exec
fn num_cpus() ->
usize
Expand description
returns
cpu_count()
as
usize,
Returns the number of CPUs.