numa_nodes

Function numa_nodes 

Source
pub fn numa_nodes() -> Vec<(usize, CpuSet)>
Expand description

The NUMA nodes visible in the current affinity mask, ascending by node id, each intersected with the mask.

Where sysfs exposes no usable node, the whole affinity mask is reported as node 0.