HWLOC_GET_OBJ_COVERING_CPUSET(3)
π¦ hwlocality...nd_covering(3) π¦
okay so bestie, welcome to hwlocality...nd_covering(3) from the Library Functions Manual β this is the page about finding objects that cover at least a CPU set π
β¨
πΈ NAME πΈ
hwlocality_helper_find_covering β Finding Objects covering at least CPU set π
β¨ SYNOPSIS β¨
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)
π«Ά DETAILED DESCRIPTION π«Ά
no extra prose here, bestie β this page goes straight into the function docs π
π FUNCTION DOCUMENTATION π
π hwloc_obj_t hwloc_get_child_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t parent) [inline]
Get the child covering at least CPU set set. π§
Returns
- the child that covers the set entirely.
NULLif no child matches or ifsetis empty.
Note: This function cannot work if parent does not have a CPU set (I/O or Misc objects). π
π 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]
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 first object at depth
depthcovering at least part of CPU setsetif objectprevisNULL. - the next one if
previs notNULL. NULLif there is no next object.
Note: This function cannot work if objects at the given depth do not have CPU sets (I/O or Misc objects). π
π¦ 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]
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 first object of type
typecovering at least part of CPU setsetif objectprevisNULL. - the next one if
previs notNULL. NULLif there is no next object.NULLif there is no depth for the given type.NULLif there are multiple depths for the given type, the caller should fallback tohwloc_get_next_obj_covering_cpuset_by_depth().
Note: This function cannot work if objects of the given type do not have CPU sets (I/O or Misc objects). π
π hwloc_obj_t hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) [inline]
Get the lowest object covering at least CPU set set. π
Returns
- the lowest object covering the set entirely.
NULLif no object matches or ifsetis empty.
π AUTHOR π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. π«Ά
and thatβs the page, bestie π the footer energy is Hardware Locality (hwloc), Version 2.15.0, page hwlocality...nd_covering(3) β no date shown on this one, so no fake timestamp from me πΈβ¨
π¦ where this page comes from
- arch rolling: hwloc 2.15.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms