@@ -1965,12 +1965,11 @@ See ::hwloc_obj_attr_u for details.
1965
1965
\section attributes_info Custom string infos
1966
1966
1967
1967
Aside os these generic attribute fields, hwloc annotates
1968
- many objects with string attributes that are made of a key and a
1969
- value.
1968
+ many objects with info attributes made of name and value strings.
1970
1969
Each object contains a list of such pairs that may be consulted
1971
1970
manually (looking at the object <tt>infos</tt> array field)
1972
1971
or using the hwloc_obj_get_info_by_name().
1973
- The user may additionally add new key -value pairs to any object using
1972
+ The user may additionally add new name -value pairs to any object using
1974
1973
hwloc_obj_add_info() or the \ref cli_hwloc_annotate program.
1975
1974
1976
1975
Here is a non-exhaustive list of attributes that may be automatically
@@ -2048,7 +2047,7 @@ Unless specified, these info attributes are attached to the root object (Machine
2048
2047
<dl>
2049
2048
<dt>Backend (topology root object)</dt>
2050
2049
<dd>The name of a hwloc backend/component that added objects in the topology.
2051
- If several components were combined, multiple Backend keys may exist,
2050
+ If several components were combined, multiple Backend pairs may exist,
2052
2051
with different values, for instance <tt>x86</tt>, <tt>Linux</tt> and
2053
2052
<tt>CUDA</tt>.
2054
2053
</dd>
@@ -3969,13 +3968,13 @@ with <tt>hwloc_topology_set_userdata_export_callback()</tt>
3969
3968
and <tt>hwloc_topology_set_userdata_import_callback()</tt>.
3970
3969
3971
3970
Each object may also contain some <em>info</em> attributes
3972
- (key name and value) that are setup by hwloc during discovery
3971
+ (name and value strings ) that are setup by hwloc during discovery
3973
3972
and that may be extended by the user with
3974
3973
<tt>hwloc_obj_add_info()</tt> (see also \ref attributes).
3975
3974
Contrary to the <tt>userdata</tt> field which is unique, multiple info
3976
3975
attributes may exist for each object, even with the same name.
3977
3976
These attributes are always exported to XML.
3978
- However, only character strings may be used as key names and values.
3977
+ However, only character strings may be used as names and values.
3979
3978
3980
3979
It is also possible to insert Misc objects with a custom name
3981
3980
anywhere as a leaf of the topology (see \ref miscobjs).
@@ -4060,7 +4059,7 @@ but not in the other.
4060
4059
4061
4060
More changes may obviously be performed by manually modifying the XML export file.
4062
4061
Simple operations such as modifying object attributes (cache size, memory size
4063
- info keypairs , etc.), moving I/O subtrees, moving Misc objects, or removing
4062
+ name-value info attributes , etc.), moving I/O subtrees, moving Misc objects, or removing
4064
4063
objects are easy to perform.
4065
4064
4066
4065
However, modifying CPU and Memory objects requires care since cpusets and nodesets
0 commit comments