Function pinned_affinities
Source pub fn pinned_affinities(counts: &[usize]) -> Vec<PinnedAffinity>
Expand description
Create pinned affinities manually when not using the ThreadRegistry.
§Parameters
counts: A slice of usize representing the number of processors in each memory region.
§Panics
If there are more than u16::MAX processors or memory regions.