Hardware Locality (hwloc) 2.12.2
|
Functions | |
hwloc_obj_t | hwloc_get_child_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t parent) |
hwloc_obj_t | hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) |
hwloc_obj_t | hwloc_get_next_obj_covering_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, int depth, hwloc_obj_t prev) |
hwloc_obj_t | hwloc_get_next_obj_covering_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev) |
|
inline |
Get the child covering at least CPU set set
.
NULL
if no child matches or if set
is empty.
|
inline |
Iterate through same-depth objects covering at least 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
.
depth
covering at least part of CPU set set
if object prev
is NULL
. prev
is not NULL
. NULL
if there is no next object.
|
inline |
Iterate through same-type objects covering at least 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
.
type
covering at least part of CPU set set
if object prev
is NULL
. prev
is not NULL
. NULL
if there is no next object. NULL
if there is no depth for the given type. NULL
if there are multiple depths for the given type, the caller should fallback to hwloc_get_next_obj_covering_cpuset_by_depth().
|
inline |
Get the lowest object covering at least CPU set set
.
NULL
if no object matches or if set
is empty.