Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HWTopo.h File Reference
#include <string>
#include <vector>
#include "galois/config.h"

Go to the source code of this file.

Classes

struct  galois::substrate::ThreadTopoInfo
 
struct  galois::substrate::MachineTopoInfo
 
struct  galois::substrate::HWTopoInfo
 

Namespaces

 galois::substrate
 Contains threading and machine OS support.
 

Functions

HWTopoInfo galois::substrate::getHWTopo ()
 getHWTopo determines the machine topology from the process information exposed in /proc and /dev filesystems. More...
 
std::vector< int > galois::substrate::parseCPUList (const std::string &in)
 parseCPUList parses cpuset information in "List format" as described in cpuset(7) and available under /proc/self/status More...
 
bool galois::substrate::bindThreadSelf (unsigned osContext)
 bindThreadSelf binds a thread to an osContext as returned by getHWTopo. More...