|  | 
        
          | 
      
      
        
          | 
 Function Documentation
Get distances for the given depth and covering some objects.  Return a distance matrix that describes depth depthand covers at least objectobjand all its ancestors. When looking for the distance between some objects, a common ancestor should be passed in obj. firstpis set to logical index of the first object described by the matrix.
 The returned structure belongs to the hwloc library. The caller should not modify or free it.  
Get the latency in both directions between two objects.  Look at ancestor objects from the bottom to the top until one of them contains a distance matrix that matches the objects exactly. latencygets the value from objectobj1toobj2, whilereverse_latencygets the reverse-direction value, which may be different on some architectures.
 Returns:-1 if no ancestor contains a matching latency matrix. 
 
Get the distances between all objects at the given depth.  Returns:a distances structure containing a matrix with all distances between all objects at the given depth.
 Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j. Note:This function only returns matrices covering the whole topology, without any unknown distance value. Those matrices are available in top-level object of the hierarchy. Matrices of lower objects are not reported here since they cover only part of the machine.
 The returned structure belongs to the hwloc library. The caller should not modify or free it. Returns:NULLif no such distance matrix exists.
 
Get the distances between all objects of a given type.  Returns:a distances structure containing a matrix with all distances between all objects of the given type.
 Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j. Note:This function only returns matrices covering the whole topology, without any unknown distance value. Those matrices are available in top-level object of the hierarchy. Matrices of lower objects are not reported here since they cover only part of the machine.
 The returned structure belongs to the hwloc library. The caller should not modify or free it. Returns:NULLif no such distance matrix exists.
 |  |  |