Functions | |
int | topo_get_cpuset_objs (topo_topology_t topology, const topo_cpuset_t *set, topo_obj_t *__topo_restrict objs, int max) |
Get the set of highest objects covering exactly a given cpuset set . | |
int | topo_get_closest_objs (topo_topology_t topology, topo_obj_t src, topo_obj_t *__topo_restrict objs, int max) |
Do a depth-first traversal of the topology to find and sort. |
int topo_get_closest_objs | ( | topo_topology_t | topology, | |
topo_obj_t | src, | |||
topo_obj_t *__topo_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
.
objs
. int topo_get_cpuset_objs | ( | topo_topology_t | topology, | |
const topo_cpuset_t * | set, | |||
topo_obj_t *__topo_restrict | objs, | |||
int | max | |||
) |
Get the set of highest objects covering exactly a given cpuset set
.
objs
.