Function sys_info::cpu_num[][src]

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

Get cpu num quantity.

Notice, it returns the logical cpu quantity.