Function libbpf_rs::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.
pub fn num_possible_cpus() -> Result<usize>Get the number of CPUs in the system, e.g., to interact with per-cpu maps.