20 #ifndef GALOIS_SUBSTRATE_HWTOPO_H
21 #define GALOIS_SUBSTRATE_HWTOPO_H
26 #include "galois/config.h"
28 namespace galois::substrate {
std::vector< ThreadTopoInfo > threadTopoInfo
Definition: HWTopo.h:49
unsigned osContext
Definition: HWTopo.h:36
unsigned maxThreads
Definition: HWTopo.h:41
unsigned tid
Definition: HWTopo.h:31
unsigned osNumaNode
Definition: HWTopo.h:37
unsigned maxSockets
Definition: HWTopo.h:43
unsigned maxCores
Definition: HWTopo.h:42
MachineTopoInfo machineTopoInfo
Definition: HWTopo.h:48
unsigned socketLeader
Definition: HWTopo.h:32
unsigned numaNode
Definition: HWTopo.h:34
bool bindThreadSelf(unsigned osContext)
bindThreadSelf binds a thread to an osContext as returned by getHWTopo.
Definition: HWTopoDarwin.cpp:115
HWTopoInfo getHWTopo()
getHWTopo determines the machine topology from the process information exposed in /proc and /dev file...
Definition: HWTopoDarwin.cpp:130
std::vector< int > parseCPUList(const std::string &in)
parseCPUList parses cpuset information in "List format" as described in cpuset(7) and available under...
Definition: HWTopo.cpp:5
unsigned cumulativeMaxSocket
Definition: HWTopo.h:35
unsigned maxNumaNodes
Definition: HWTopo.h:44
unsigned socket
Definition: HWTopo.h:33