sys_info

Function cpu_num

Source
pub fn cpu_num() -> Result<u32, Error>
Expand description

Get cpu num quantity.

Notice, it returns the logical cpu quantity.