Function switchml::GetCoresNuma

Function Documentation

inline std::unordered_map<int, std::vector<int>> switchml::GetCoresNuma()

A function to query the system and get all Core ids grouped up by their NUMA nodes.

Returns

std::unordered_map<int, std::vector<int>> A map with the NUMA node as the key and a vector of physical core ids that reside on that numa node.