Hardware Locality (hwloc)
1.9
|
Typedefs | |
typedef struct hwloc_topology * | hwloc_topology_t |
Functions | |
int | hwloc_topology_init (hwloc_topology_t *topologyp) |
int | hwloc_topology_load (hwloc_topology_t topology) |
void | hwloc_topology_destroy (hwloc_topology_t topology) |
void | hwloc_topology_check (hwloc_topology_t topology) |
typedef struct hwloc_topology* hwloc_topology_t |
Topology context.
To be initialized with hwloc_topology_init() and built with hwloc_topology_load().
void hwloc_topology_check | ( | hwloc_topology_t | topology | ) |
Run internal checks on a topology structure.
The program aborts if an inconsistency is detected in the given topology.
topology | is the topology to be checked |
void hwloc_topology_destroy | ( | hwloc_topology_t | topology | ) |
Terminate and free a topology context.
topology | is the topology to be freed |
int hwloc_topology_init | ( | hwloc_topology_t * | topologyp | ) |
Allocate a topology context.
[out] | topologyp | is assigned a pointer to the new allocated context. |
int hwloc_topology_load | ( | hwloc_topology_t | topology | ) |
Build the actual topology.
Build the actual topology once initialized with hwloc_topology_init() and tuned with Topology Detection Configuration and Query routines. No other routine may be called earlier using this topology context.
topology | is the topology to be loaded with objects. |