table of contents
- bookworm 2.9.0-1
- bookworm-backports 2.11.2-1~bpo12+1
- testing 2.11.2-1
- unstable 2.11.2-1
hwlocality_helper_find_covering(3) | Hardware Locality (hwloc) | hwlocality_helper_find_covering(3) |
NAME¶
hwlocality_helper_find_covering - Finding Objects covering at least CPU set
SYNOPSIS¶
Functions¶
static hwloc_obj_t hwloc_get_child_covering_cpuset
(hwloc_topology_t topology, hwloc_const_cpuset_t set,
hwloc_obj_t parent)
static hwloc_obj_t hwloc_get_obj_covering_cpuset
(hwloc_topology_t topology, hwloc_const_cpuset_t set)
static 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)
static 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)
Detailed Description¶
Function Documentation¶
static hwloc_obj_t hwloc_get_child_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t parent) [inline], [static]¶
Get the child covering at least CPU set set.
Returns
NULL if no child matches or if set is empty.
Note
static 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) [inline], [static]¶
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.
Returns
the next one if prev is not NULL.
NULL if there is no next object.
Note
static 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], [static]¶
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.
Returns
the next one if 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().
Note
static hwloc_obj_t hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) [inline], [static]¶
Get the lowest object covering at least CPU set set.
Returns
NULL if no object matches or if set is empty.
Author¶
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Mon Oct 7 2024 | Version 2.11.2 |