hwlocality_distances_remove.3 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .TH "hwlocality_distances_remove" 3 "Thu Sep 7 2023" "Version 2.9.3" "Hardware Locality (hwloc)" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. hwlocality_distances_remove \- Remove distances between objects
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .SS "Functions"
  10. .in +1c
  11. .ti -1c
  12. .RI "int \fBhwloc_distances_remove\fP (\fBhwloc_topology_t\fP topology)"
  13. .br
  14. .ti -1c
  15. .RI "int \fBhwloc_distances_remove_by_depth\fP (\fBhwloc_topology_t\fP topology, int depth)"
  16. .br
  17. .ti -1c
  18. .RI "static int \fBhwloc_distances_remove_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
  19. .br
  20. .ti -1c
  21. .RI "int \fBhwloc_distances_release_remove\fP (\fBhwloc_topology_t\fP topology, struct \fBhwloc_distances_s\fP *distances)"
  22. .br
  23. .in -1c
  24. .SH "Detailed Description"
  25. .PP
  26. .SH "Function Documentation"
  27. .PP
  28. .SS "int hwloc_distances_release_remove (\fBhwloc_topology_t\fP topology, struct \fBhwloc_distances_s\fP * distances)"
  29. .PP
  30. Release and remove the given distance matrice from the topology\&. This function includes a call to \fBhwloc_distances_release()\fP\&.
  31. .PP
  32. \fBReturns\fP
  33. .RS 4
  34. 0 on success, -1 on error\&.
  35. .RE
  36. .PP
  37. .SS "int hwloc_distances_remove (\fBhwloc_topology_t\fP topology)"
  38. .PP
  39. Remove all distance matrices from a topology\&. Remove all distance matrices, either provided by the user or gathered through the OS\&.
  40. .PP
  41. If these distances were used to group objects, these additional Group objects are not removed from the topology\&.
  42. .PP
  43. \fBReturns\fP
  44. .RS 4
  45. 0 on success, -1 on error\&.
  46. .RE
  47. .PP
  48. .SS "int hwloc_distances_remove_by_depth (\fBhwloc_topology_t\fP topology, int depth)"
  49. .PP
  50. Remove distance matrices for objects at a specific depth in the topology\&. Identical to \fBhwloc_distances_remove()\fP but only applies to one level of the topology\&.
  51. .PP
  52. \fBReturns\fP
  53. .RS 4
  54. 0 on success, -1 on error\&.
  55. .RE
  56. .PP
  57. .SS "static int hwloc_distances_remove_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)\fC [inline]\fP, \fC [static]\fP"
  58. .PP
  59. Remove distance matrices for objects of a specific type in the topology\&. Identical to \fBhwloc_distances_remove()\fP but only applies to one level of the topology\&.
  60. .PP
  61. \fBReturns\fP
  62. .RS 4
  63. 0 on success, -1 on error\&.
  64. .RE
  65. .PP
  66. .SH "Author"
  67. .PP
  68. Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.