subspace_farmer::utils

Function all_cpu_cores

source
pub fn all_cpu_cores() -> Vec<CpuCoreSet>
Expand description

Get all cpu cores, grouped into sets according to NUMA nodes or L3 cache groups on large CPUs.

Returned vector is guaranteed to have at least one element and have non-zero number of CPU cores in each set.