Detailed Description

Be sure to see the figure in Terms and Definitions that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one socket has fewer caches than its peers.

Function Documentation

static \fBhwloc_obj_t\fP hwloc_get_ancestor_obj_by_depth (\fBhwloc_topology_t\fPtopology, unsigneddepth, \fBhwloc_obj_t\fPobj)\fC [inline]\fP, \fC [static]\fP

Returns the ancestor object of obj at depth depth.

static \fBhwloc_obj_t\fP hwloc_get_ancestor_obj_by_type (\fBhwloc_topology_t\fPtopology, \fBhwloc_obj_type_t\fPtype, \fBhwloc_obj_t\fPobj)\fC [inline]\fP, \fC [static]\fP

Returns the ancestor object of obj with type type.

static \fBhwloc_obj_t\fP hwloc_get_common_ancestor_obj (\fBhwloc_topology_t\fPtopology, \fBhwloc_obj_t\fPobj1, \fBhwloc_obj_t\fPobj2)\fC [inline]\fP, \fC [static]\fP

Returns the common parent object to objects lvl1 and lvl2.

static \fBhwloc_obj_t\fP hwloc_get_next_child (\fBhwloc_topology_t\fPtopology, \fBhwloc_obj_t\fPparent, \fBhwloc_obj_t\fPprev)\fC [inline]\fP, \fC [static]\fP

Return the next child. If prev is NULL, return the first child.

static int hwloc_obj_is_in_subtree (\fBhwloc_topology_t\fPtopology, \fBhwloc_obj_t\fPobj, \fBhwloc_obj_t\fPsubtree_root)\fC [inline]\fP, \fC [static]\fP

Returns true if obj is inside the subtree beginning with ancestor object subtree_root.

Note:

This function assumes that both obj and subtree_root have a cpuset.

Author

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.