HWLOC_DISTANCES_REMOVE(3)
π NAME π
hwlocality...nces_remove(3) β from the Library Functions Manual, and it's literally the Remove distances between objects page, bestie β¨ The function name is hwlocality_distances_remove, and yes, this is your go-to for clearing out distance matrices π
β¨ SYNOPSIS β¨
π«Ά Functions π«Ά
int hwloc_distances_remove (hwloc_topology_t topology)
int hwloc_distances_remove_by_depth (hwloc_topology_t topology, int
depth)
int hwloc_distances_remove_by_type (hwloc_topology_t topology,
hwloc_obj_type_t type) [inline]
int hwloc_distances_release_remove (hwloc_topology_t topology, struct
hwloc_distances_s *distances)
π¦ DETAILED DESCRIPTION π¦
No extra lore here β the actual function-by-function tea is served right below π
π FUNCTION DOCUMENTATION π
π hwloc_distances_release_remove π
int hwloc_distances_release_remove (hwloc_topology_t topology, struct
hwloc_distances_s * distances)
Release and remove the given distance matrice from the topology. This function includes a call to hwloc_distances_release() β no cap, that release is built right in π«Ά
Returns: 0 on success, -1 on error.
πΈ hwloc_distances_remove πΈ
int hwloc_distances_remove (hwloc_topology_t topology)
Remove all distance matrices from a topology. It clears all the distance matrices, whether they were provided by the user or gathered through the OS β all of them, periodt π
If these distances were used to group objects, these additional Group objects are not removed from the topology. So yeah, the Group objects stay β important caveat, don't forget it π
Returns: 0 on success, -1 on error.
π¦ hwloc_distances_remove_by_depth π¦
int hwloc_distances_remove_by_depth (hwloc_topology_t topology, int depth)
Remove distance matrices for objects at a specific depth in the topology. Identical to hwloc_distances_remove() but only applies to one level of the topology β so it's the targeted version, not the whole sweep π―
Returns: 0 on success, -1 on error.
π§ hwloc_distances_remove_by_type π§
int hwloc_distances_remove_by_type (hwloc_topology_t topology,
hwloc_obj_type_t type) [inline]
Remove distance matrices for objects of a specific type in the topology. Identical to hwloc_distances_remove() but only applies to one level of the topology β type-based removal, slay β¨
Returns: 0 on success, -1 on error.
π AUTHOR π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
π And that's the whole page, bestie! Footer check: Hardware Locality (hwloc) Β· Version 2.15.0 Β· hwlocality...nces_remove(3) β mwah π
π¦ 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