Function get_cpu_cores

Source
pub async fn get_cpu_cores() -> Result<u32>
Expand description

CPU 論理コア数を取得する。

nproc コマンドを使用する。