libbpf_rs

Function num_possible_cpus

Source
pub fn num_possible_cpus() -> Result<usize>
Expand description

Get the number of CPUs in the system, e.g., to interact with per-cpu maps.