Detailed Description

Function Documentation

static \fBhwloc_obj_t\fP hwloc_get_child_covering_cpuset (\fBhwloc_topology_t\fPtopology, \fBhwloc_const_cpuset_t\fPset, \fBhwloc_obj_t\fPparent)\fC [inline]\fP, \fC [static]\fP

Get the child covering at least CPU set set.

Returns:

NULL if no child matches or if set is empty.

Note:

This function cannot work if parent does not have a CPU set.

static \fBhwloc_obj_t\fP hwloc_get_next_obj_covering_cpuset_by_depth (\fBhwloc_topology_t\fPtopology, \fBhwloc_const_cpuset_t\fPset, unsigneddepth, \fBhwloc_obj_t\fPprev)\fC [inline]\fP, \fC [static]\fP

Iterate through same-depth objects covering at least CPU set set. If object prev is NULL, return the first object at depth depth covering at least part of CPU set set. The next invokation should pass the previous return value in prev so as to obtain the next object covering at least another part of set.

Note:

This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines.

static \fBhwloc_obj_t\fP hwloc_get_next_obj_covering_cpuset_by_type (\fBhwloc_topology_t\fPtopology, \fBhwloc_const_cpuset_t\fPset, \fBhwloc_obj_type_t\fPtype, \fBhwloc_obj_t\fPprev)\fC [inline]\fP, \fC [static]\fP

Iterate through same-type objects covering at least CPU set set. If object prev is NULL, return the first object of type type covering at least part of CPU set set. The next invokation should pass the previous return value in prev so as to obtain the next object of type type covering at least another part of set.

If there are no or multiple depths for type type, NULL is returned. The caller may fallback to hwloc_get_next_obj_covering_cpuset_by_depth() for each depth.

Note:

This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines.

static \fBhwloc_obj_t\fP hwloc_get_obj_covering_cpuset (\fBhwloc_topology_t\fPtopology, \fBhwloc_const_cpuset_t\fPset)\fC [inline]\fP, \fC [static]\fP

Get the lowest object covering at least CPU set set.

Returns:

NULL if no object matches or if set is empty.

Note:

This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines.

Author

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