GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HWLOCALITY_CREATION (3)

NAME

hwlocality_creation - Topology Creation and Destruction

    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)    
int hwloc_topology_dup (hwloc_topology_t *newtopology, hwloc_topology_t oldtopology)    
void hwloc_topology_check (hwloc_topology_t topology)

CONTENTS

Detailed Description

Typedef Documentation

typedef struct hwloc_topology* hwloc_topology_t

Topology context. To be initialized with hwloc_topology_init() and built with hwloc_topology_load().

Function Documentation

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.

Parameters:

topology is the topology to be checked

Note:

This routine is only useful to developers.

The input topology should have been previously loaded with hwloc_topology_load().

void hwloc_topology_destroy (hwloc_topology_t topology)

Terminate and free a topology context.

Parameters:

topology is the topology to be freed

int hwloc_topology_dup (hwloc_topology_t * newtopology, hwloc_topology_t oldtopology)

Duplicate a topology. The entire topology structure as well as its objects are duplicated into a new one.

This is useful for keeping a backup while modifying a topology.

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.

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.

Parameters:

topology is the topology to be loaded with objects.

Returns:

0 on success, -1 on error.

Note:

On failure, the topology is reinitialized. It should be either destroyed with hwloc_topology_destroy() or configured and loaded again.

This function may be called only once per topology.

See also:

Topology Detection Configuration and Query

Author

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

Search for    or go to Top of page |  Section 3 |  Main Index


Version 1.11.1 HWLOCALITY_CREATION (3) Thu Oct 15 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.