Poster of Linux kernelThe best gift for a Linux geek
Create and Destroy Topologies

Create and Destroy Topologies

Section: Hardware Locality (hwloc) (3) Updated: 20 Jul 2010
Local index Up
 

NAME

Create and Destroy Topologies -  

Functions


HWLOC_DECLSPEC int hwloc_topology_init (hwloc_topology_t *topologyp)
Allocate a topology context.
HWLOC_DECLSPEC int hwloc_topology_load (hwloc_topology_t topology)
Build the actual topology.
HWLOC_DECLSPEC void hwloc_topology_destroy (hwloc_topology_t topology)
Terminate and free a topology context.
HWLOC_DECLSPEC void hwloc_topology_check (hwloc_topology_t topology)
Run internal checks on a topology structure.  

Function Documentation

 

HWLOC_DECLSPEC void hwloc_topology_check (hwloc_topology_t topology)

Run internal checks on a topology structure. Parameters:

topology is the topology to be checked

 

HWLOC_DECLSPEC void hwloc_topology_destroy (hwloc_topology_t topology)

Terminate and free a topology context. Parameters:

topology is the topology to be freed

 

HWLOC_DECLSPEC int hwloc_topology_init (hwloc_topology_t * topologyp)

Allocate a topology context. Parameters:

topologyp is assigned a pointer to the new allocated context.

Returns:

0 on success, -1 on error.

 

HWLOC_DECLSPEC 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 hwlocality_configuration routine. No other routine may be called earlier using this topology context.

Parameters:

topology is the topology to be loaded with objects.

Returns:

0 on success, -1 on error.

See also:

Configure Topology Detection

 

Author

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.


 

Index

NAME
Functions
Function Documentation
HWLOC_DECLSPEC void hwloc_topology_check (hwloc_topology_t topology)
HWLOC_DECLSPEC void hwloc_topology_destroy (hwloc_topology_t topology)
HWLOC_DECLSPEC int hwloc_topology_init (hwloc_topology_t * topologyp)
HWLOC_DECLSPEC int hwloc_topology_load (hwloc_topology_t topology)
Author

This document was created by man2html, using the manual pages.
Time: 21:48:03 GMT, April 16, 2011