Hardware Locality (hwloc)  v2.0-20191027.0400.gite37e7d8
Data Structures | Functions
Components and Plugins: Discovery backends

Data Structures

struct  hwloc_backend
 Discovery backend structure. More...

Functions

struct hwloc_backendhwloc_backend_alloc (struct hwloc_disc_component *component)
int hwloc_backend_enable (struct hwloc_topology *topology, struct hwloc_backend *backend)

Function Documentation

struct hwloc_backend* hwloc_backend_alloc ( struct hwloc_disc_component component) [read]

Allocate a backend structure, set good default values, initialize backend->component and topology, etc. The caller will then modify whatever needed, and call hwloc_backend_enable().

int hwloc_backend_enable ( struct hwloc_topology *  topology,
struct hwloc_backend backend 
)

Enable a previously allocated and setup backend.