[][src]Function heim::cpu::physical_count

pub async fn physical_count() -> Result<Option<u64>, Error>
This is supported on feature="cpu" only.

Returns an amount of physical CPUs.

Returns

If the amount can't be determined, Ok(None) will be returned.