advanced traversal helpers(3)

NAME

Advanced Traversal Helpers
Functions
int hwloc_get_closest_objs (hwloc_topology_t topology, hwloc_obj_t src,
hwloc_obj_t *restrict objs, int max)
Do a depth-first traversal of the topology to find and sort.

Function Documentation

int hwloc_get_closest_objs (hwloc_topology_t topology, hwloc_obj_t src,
hwloc_obj_t *restrict objs, int max) Do a depth-first traversal of the topology to find and sort. all
objects that are at the same depth than src. Report in objs up to max
physically closest ones to src.
Returns:
the number of objects returned in objs.

Author

Generated automatically by Doxygen for Hardware Locality (hwloc) from
the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout