Unix/Linux Go Back    

CentOS 7.0 - man page for hwloc_topology_destroy (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Create and Destroy Topologies(3)    Hardware Locality (hwloc)	 Create and Destroy Topologies(3)

       Create and Destroy Topologies -

	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)

Detailed Description
Function Documentation
    void hwloc_topology_check (hwloc_topology_ttopology)
       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

	   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_ttopology)
       Terminate and free a topology context. Parameters:
	   topology is the topology to be freed

    int hwloc_topology_init (hwloc_topology_t *topologyp)
       Allocate a topology context. Parameters:
	   topologyp is assigned a pointer to the new allocated context.

	   0 on success, -1 on error.

    int hwloc_topology_load (hwloc_topology_ttopology)
       Build the actual topology. Build the actual topology once initialized with
       hwloc_topology_init() and tuned with Configure Topology Detection routines. No other
       routine may be called earlier using this topology context.

	   topology is the topology to be loaded with objects.

	   0 on success, -1 on error.

	   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:
	   Configure Topology Detection

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

Version 1.7				  Sun Apr 7 2013	 Create and Destroy Topologies(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:38 PM.