dwww Home | Manual pages | Find package

hwlocality_distances_consulHardware Locality (hhwlocality_distances_consult(3)

NAME
       hwlocality_distances_consult - Helpers for consulting distance matrices

SYNOPSIS
   Functions
       static int hwloc_distances_obj_index (struct hwloc_distances_s
           *distances, hwloc_obj_t obj)
       static int hwloc_distances_obj_pair_values (struct hwloc_distances_s
           *distances, hwloc_obj_t obj1, hwloc_obj_t obj2, hwloc_uint64_t
           *value1to2, hwloc_uint64_t *value2to1)

Detailed Description
Function Documentation
   static int hwloc_distances_obj_index (struct hwloc_distances_s * distances,
       hwloc_obj_t obj) [inline],  [static]
       Find the index of an object in a distances structure.

       Returns
           -1 if object obj is not involved in structure distances.

   static int hwloc_distances_obj_pair_values (struct hwloc_distances_s *
       distances, hwloc_obj_t obj1, hwloc_obj_t obj2, hwloc_uint64_t *
       value1to2, hwloc_uint64_t * value2to1) [inline],  [static]
       Find the values between two objects in a distance matrices. The
       distance from obj1 to obj2 is stored in the value pointed by value1to2
       and reciprocally.

       Returns
           -1 if object obj1 or obj2 is not involved in structure distances.

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

Version 2.7.0                   Thu Jun 16 2022hwlocality_distances_consult(3)

Generated by dwww version 1.14 on Fri Jan 24 06:17:05 CET 2025.