mito2::config

Function divide_num_cpus

Source
fn divide_num_cpus(divisor: usize) -> usize
Expand description

Divide cpu num by a non-zero divisor and returns at least 1.