|  | 
        
          | 
      
      
        
          | 
| 
Functions |  | static inline hwloc_obj_t | hwloc_get_first_largest_obj_inside_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) |  |  | Get the first largest object included in the given cpuset set.
 |  | int | hwloc_get_largest_objs_inside_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t *restrict objs, int max) |  |  | Get the set of largest objects covering exactly a given cpuset set.
 |  | static inline hwloc_obj_t | hwloc_get_next_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev) |  |  | Return the next object at depth depthincluded in CPU setset.
 |  | static inline hwloc_obj_t | hwloc_get_next_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev) |  |  | Return the next object of type typeincluded in CPU setset.
 |  | static inline hwloc_obj_t
 
 | hwloc_get_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, unsigned idx) |  |  | Return the index-th object at depthdepthincluded in CPU setset.
 |  | static inline hwloc_obj_t
 
 | hwloc_get_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, unsigned idx) |  |  | Return the idx-th object of typetypeincluded in CPU setset.
 |  | static inline unsigned 
 | hwloc_get_nbobjs_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth) |  |  | Return the number of objects at depth depthincluded in CPU setset.
 |  | static inline int 
 | hwloc_get_nbobjs_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type) |  |  | Return the number of objects of type typeincluded in CPU setset.
 |  
 Function Documentation
Get the first largest object included in the given cpuset set. Returns:the first object that is included in setand whose parent is not.
 This is convenient for iterating over all largest objects within a CPU set by doing a loop getting the first largest object and clearing its CPU set from the remaining CPU set.  
Get the set of largest objects covering exactly a given cpuset set. Returns:the number of objects returned in objs.
 
Return the number of objects at depth depthincluded in CPU setset. 
Return the number of objects of type typeincluded in CPU setset. If no object for that type exists inside CPU set set, 0 is returned. If there are several levels with objects of that type inside CPU setset, -1 is returned. 
Return the next object at depth depthincluded in CPU setset. If previsNULL, return the first object at depthdepthincluded inset. The next invokation should pass the previous return value inprevso as to obtain the next object inset. 
Return the index-th object at depthdepthincluded in CPU setset. 
Return the idx-th object of typetypeincluded in CPU setset. If there are multiple or no depth for given type, return NULLand let the caller fallback to hwloc_get_obj_inside_cpuset_by_depth(). |  |  |