File: a00140_source.html

package info (click to toggle)
hwloc-contrib 2.4.1%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye
  • size: 21,976 kB
  • sloc: ansic: 58,129; xml: 12,064; sh: 6,822; makefile: 2,200; javascript: 1,623; perl: 380; cpp: 93; php: 8; sed: 4
file content (231 lines) | stat: -rw-r--r-- 44,068 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Hardware Locality (hwloc): memattrs.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Hardware Locality (hwloc)
   &#160;<span id="projectnumber">2.4.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">memattrs.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright © 2019-2020 Inria.  All rights reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * See COPYING in top-level directory.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef HWLOC_MEMATTR_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define HWLOC_MEMATTR_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;hwloc.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#elif 0</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;}</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="a00217.html#gab4bde745db676fc2ea4b47011cd9a80e">   67</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="a00217.html#gab4bde745db676fc2ea4b47011cd9a80e">hwloc_memattr_id_e</a> {</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc">   77</a></span>&#160;  <a class="code" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc">HWLOC_MEMATTR_ID_CAPACITY</a> = 0,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe">   91</a></span>&#160;  <a class="code" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe">HWLOC_MEMATTR_ID_LOCALITY</a> = 1,</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f">   99</a></span>&#160;  <a class="code" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f">HWLOC_MEMATTR_ID_BANDWIDTH</a> = 2,</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <a class="code" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19">HWLOC_MEMATTR_ID_LATENCY</a> = 3</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">/* TODO read vs write, persistence? */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19">  110</a></span>&#160;};</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="a00217.html#gacc82003a8610be554615995f0996c888">  115</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="a00217.html#ga79f44f8e1cfd2f97a19171417a75a137">  120</a></span>&#160;<a class="code" href="a00217.html#ga79f44f8e1cfd2f97a19171417a75a137">hwloc_memattr_get_by_name</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                          <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                          <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> *<span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="a00217.html#ga33099ba58f607fc70925da3777688586">  126</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="a00217.html#ga33099ba58f607fc70925da3777688586">hwloc_location_type_e</a> {</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="a00217.html#gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174">  128</a></span>&#160;  <a class="code" href="a00217.html#gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174">HWLOC_LOCATION_TYPE_CPUSET</a> = 1,</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  <a class="code" href="a00217.html#gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84">HWLOC_LOCATION_TYPE_OBJECT</a> = 0</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="a00217.html#gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84">  131</a></span>&#160;};</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="a00320.html">  134</a></span>&#160;<span class="keyword">struct </span><a class="code" href="a00320.html">hwloc_location</a> {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="keyword">enum</span> <a class="code" href="a00217.html#ga33099ba58f607fc70925da3777688586">hwloc_location_type_e</a> <a class="code" href="a00320.html#aeb9c0ab74a7d3506a76d0b82600a28a7">type</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a00324.html">  138</a></span>&#160;  <span class="keyword">union </span><a class="code" href="a00324.html">hwloc_location_u</a> {</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="a00324.html#a033bad8f6b891992f0c18b85a88c5561">  140</a></span>&#160;    <a class="code" href="a00189.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <a class="code" href="a00324.html#a033bad8f6b891992f0c18b85a88c5561">cpuset</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="a00324.html#acf2ebf75869f0a53a884ac2ab3374122">  142</a></span>&#160;    <a class="code" href="a00244.html">hwloc_obj_t</a> <a class="code" href="a00324.html#acf2ebf75869f0a53a884ac2ab3374122">object</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="a00320.html#a707a25a5b65177e4d081be49aa0777a2">  143</a></span>&#160;  } <a class="code" href="a00320.html#a707a25a5b65177e4d081be49aa0777a2">location</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;};</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="a00217.html#gab9c963ca37255da71b00d94e1b106f9d">  148</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="a00217.html#gab9c963ca37255da71b00d94e1b106f9d">hwloc_local_numanode_flag_e</a> {</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc">  154</a></span>&#160;  <a class="code" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc">HWLOC_LOCAL_NUMANODE_FLAG_LARGER_LOCALITY</a> = (1UL&lt;&lt;0),</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57">  161</a></span>&#160;  <a class="code" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57">HWLOC_LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY</a> = (1UL&lt;&lt;1),</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  <a class="code" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0">HWLOC_LOCAL_NUMANODE_FLAG_ALL</a> = (1UL&lt;&lt;2)</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0">  168</a></span>&#160;};</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="a00217.html#ga569e80c5be7ef27649b0ef5aa52ffcdc">  200</a></span>&#160;<a class="code" href="a00217.html#ga569e80c5be7ef27649b0ef5aa52ffcdc">hwloc_get_local_numanode_objs</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                              <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *location,</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                              <span class="keywordtype">unsigned</span> *nr,</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                              <a class="code" href="a00244.html">hwloc_obj_t</a> *nodes,</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                              <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="a00217.html#ga297e4a9adc2272446a4c7449dacef0df">  223</a></span>&#160;<a class="code" href="a00217.html#ga297e4a9adc2272446a4c7449dacef0df">hwloc_memattr_get_value</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;                        <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;                        <a class="code" href="a00244.html">hwloc_obj_t</a> target_node,</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                        <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *initiator,</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                        hwloc_uint64_t *value);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="a00217.html#ga884d1f2ad745c2fa69c1583c82d28f10">  256</a></span>&#160;<a class="code" href="a00217.html#ga884d1f2ad745c2fa69c1583c82d28f10">hwloc_memattr_get_best_target</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                              <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                              <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *initiator,</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                              <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                              <a class="code" href="a00244.html">hwloc_obj_t</a> *best_target, hwloc_uint64_t *value);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="a00217.html#ga9a453879892893cf8a3fcd431ade84cd">  285</a></span>&#160;<a class="code" href="a00217.html#ga9a453879892893cf8a3fcd431ade84cd">hwloc_memattr_get_best_initiator</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                                 <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                                 <a class="code" href="a00244.html">hwloc_obj_t</a> target,</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                                 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;                                 <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *best_initiator, hwloc_uint64_t *value);</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="a00218.html#ga5300e9be1abdea2e00c18492148aecd0">  301</a></span>&#160;<a class="code" href="a00218.html#ga5300e9be1abdea2e00c18492148aecd0">hwloc_memattr_get_name</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;                       <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">char</span> **name);</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160; </div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="a00218.html#ga4c62b626085adeaffb233e5f2a03a5eb">  310</a></span>&#160;<a class="code" href="a00218.html#ga4c62b626085adeaffb233e5f2a03a5eb">hwloc_memattr_get_flags</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;                        <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *flags);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="a00218.html#ga78aceb4cac4d614c0f5e82dbfeb779e5">  317</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="a00218.html#ga78aceb4cac4d614c0f5e82dbfeb779e5">hwloc_memattr_flag_e</a> {</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815">  321</a></span>&#160;  <a class="code" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815">HWLOC_MEMATTR_FLAG_HIGHER_FIRST</a> = (1UL&lt;&lt;0),</div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf">  325</a></span>&#160;  <a class="code" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf">HWLOC_MEMATTR_FLAG_LOWER_FIRST</a> = (1UL&lt;&lt;1),</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;  <a class="code" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96">HWLOC_MEMATTR_FLAG_NEED_INITIATOR</a> = (1UL&lt;&lt;2)</div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96">  330</a></span>&#160;};</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160; </div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="a00218.html#ga770657d1e44b09e93e09f623936c1e5f">  339</a></span>&#160;<a class="code" href="a00218.html#ga770657d1e44b09e93e09f623936c1e5f">hwloc_memattr_register</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;                       <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;                       <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> *<span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160; </div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="a00218.html#ga960529c08b25cf15825e0f72ecceb504">  363</a></span>&#160;<a class="code" href="a00218.html#ga960529c08b25cf15825e0f72ecceb504">hwloc_memattr_set_value</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;                        <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;                        <a class="code" href="a00244.html">hwloc_obj_t</a> target_node,</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;                        <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *initiator,</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;                        hwloc_uint64_t value);</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="a00218.html#ga3177cc0ab47e4dd1fa69ca1df4c7cb1a">  407</a></span>&#160;<a class="code" href="a00218.html#ga3177cc0ab47e4dd1fa69ca1df4c7cb1a">hwloc_memattr_get_targets</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                          <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;                          <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *initiator,</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;                          <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;                          <span class="keywordtype">unsigned</span> *nrp, <a class="code" href="a00244.html">hwloc_obj_t</a> *targets, hwloc_uint64_t *values);</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160; </div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="a00320.html#aeb9c0ab74a7d3506a76d0b82600a28a7">  443</a></span>&#160;<a class="code" href="a00218.html#ga049aaa860dcbbf0792f0fd4251a99ec0">hwloc_memattr_get_initiators</a>(<a class="code" href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;                             <a class="code" href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;                             <a class="code" href="a00244.html">hwloc_obj_t</a> target_node,</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;                             <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;                             <span class="keywordtype">unsigned</span> *nr, <span class="keyword">struct</span> <a class="code" href="a00320.html">hwloc_location</a> *initiators, hwloc_uint64_t *values);</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;} <span class="comment">/* extern &quot;C&quot; */</span></div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; </div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160; </div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* HWLOC_MEMATTR_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aa00189_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00189.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes.</div><div class="ttdef"><b>Definition:</b> hwloc.h:140</div></div>
<div class="ttc" id="aa00192_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00192.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context.</div><div class="ttdef"><b>Definition:</b> hwloc.h:691</div></div>
<div class="ttc" id="aa00217_html_ga297e4a9adc2272446a4c7449dacef0df"><div class="ttname"><a href="a00217.html#ga297e4a9adc2272446a4c7449dacef0df">hwloc_memattr_get_value</a></div><div class="ttdeci">int hwloc_memattr_get_value(hwloc_topology_t topology, hwloc_memattr_id_t attribute, hwloc_obj_t target_node, struct hwloc_location *initiator, unsigned long flags, hwloc_uint64_t *value)</div><div class="ttdoc">Return an attribute value for a specific target NUMA node.</div></div>
<div class="ttc" id="aa00217_html_ga33099ba58f607fc70925da3777688586"><div class="ttname"><a href="a00217.html#ga33099ba58f607fc70925da3777688586">hwloc_location_type_e</a></div><div class="ttdeci">hwloc_location_type_e</div><div class="ttdoc">Type of location.</div><div class="ttdef"><b>Definition:</b> memattrs.h:126</div></div>
<div class="ttc" id="aa00217_html_ga569e80c5be7ef27649b0ef5aa52ffcdc"><div class="ttname"><a href="a00217.html#ga569e80c5be7ef27649b0ef5aa52ffcdc">hwloc_get_local_numanode_objs</a></div><div class="ttdeci">int hwloc_get_local_numanode_objs(hwloc_topology_t topology, struct hwloc_location *location, unsigned *nr, hwloc_obj_t *nodes, unsigned long flags)</div><div class="ttdoc">Return an array of local NUMA nodes.</div></div>
<div class="ttc" id="aa00217_html_ga79f44f8e1cfd2f97a19171417a75a137"><div class="ttname"><a href="a00217.html#ga79f44f8e1cfd2f97a19171417a75a137">hwloc_memattr_get_by_name</a></div><div class="ttdeci">int hwloc_memattr_get_by_name(hwloc_topology_t topology, const char *name, hwloc_memattr_id_t *id)</div><div class="ttdoc">Return the identifier of the memory attribute with the given name.</div></div>
<div class="ttc" id="aa00217_html_ga884d1f2ad745c2fa69c1583c82d28f10"><div class="ttname"><a href="a00217.html#ga884d1f2ad745c2fa69c1583c82d28f10">hwloc_memattr_get_best_target</a></div><div class="ttdeci">int hwloc_memattr_get_best_target(hwloc_topology_t topology, hwloc_memattr_id_t attribute, struct hwloc_location *initiator, unsigned long flags, hwloc_obj_t *best_target, hwloc_uint64_t *value)</div><div class="ttdoc">Return the best target NUMA node for the given attribute and initiator.</div></div>
<div class="ttc" id="aa00217_html_ga9a453879892893cf8a3fcd431ade84cd"><div class="ttname"><a href="a00217.html#ga9a453879892893cf8a3fcd431ade84cd">hwloc_memattr_get_best_initiator</a></div><div class="ttdeci">int hwloc_memattr_get_best_initiator(hwloc_topology_t topology, hwloc_memattr_id_t attribute, hwloc_obj_t target, unsigned long flags, struct hwloc_location *best_initiator, hwloc_uint64_t *value)</div><div class="ttdoc">Return the best initiator for the given attribute and target NUMA node.</div></div>
<div class="ttc" id="aa00217_html_gab4bde745db676fc2ea4b47011cd9a80e"><div class="ttname"><a href="a00217.html#gab4bde745db676fc2ea4b47011cd9a80e">hwloc_memattr_id_e</a></div><div class="ttdeci">hwloc_memattr_id_e</div><div class="ttdoc">Memory node attributes.</div><div class="ttdef"><b>Definition:</b> memattrs.h:67</div></div>
<div class="ttc" id="aa00217_html_gab9c963ca37255da71b00d94e1b106f9d"><div class="ttname"><a href="a00217.html#gab9c963ca37255da71b00d94e1b106f9d">hwloc_local_numanode_flag_e</a></div><div class="ttdeci">hwloc_local_numanode_flag_e</div><div class="ttdoc">Flags for selecting target NUMA nodes.</div><div class="ttdef"><b>Definition:</b> memattrs.h:148</div></div>
<div class="ttc" id="aa00217_html_gacc82003a8610be554615995f0996c888"><div class="ttname"><a href="a00217.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a></div><div class="ttdeci">unsigned hwloc_memattr_id_t</div><div class="ttdoc">A memory attribute identifier. May be either one of hwloc_memattr_id_e or a new id returned by hwloc_...</div><div class="ttdef"><b>Definition:</b> memattrs.h:115</div></div>
<div class="ttc" id="aa00217_html_gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174"><div class="ttname"><a href="a00217.html#gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174">HWLOC_LOCATION_TYPE_CPUSET</a></div><div class="ttdeci">@ HWLOC_LOCATION_TYPE_CPUSET</div><div class="ttdoc">Location is given as a cpuset, in the location cpuset union field.</div><div class="ttdef"><b>Definition:</b> memattrs.h:128</div></div>
<div class="ttc" id="aa00217_html_gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84"><div class="ttname"><a href="a00217.html#gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84">HWLOC_LOCATION_TYPE_OBJECT</a></div><div class="ttdeci">@ HWLOC_LOCATION_TYPE_OBJECT</div><div class="ttdoc">Location is given as an object, in the location object union field.</div><div class="ttdef"><b>Definition:</b> memattrs.h:130</div></div>
<div class="ttc" id="aa00217_html_ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f"><div class="ttname"><a href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f">HWLOC_MEMATTR_ID_BANDWIDTH</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_BANDWIDTH</div><div class="ttdoc">&quot;Bandwidth&quot;. The bandwidth is returned in MiB/s, as seen from the given initiator location....</div><div class="ttdef"><b>Definition:</b> memattrs.h:99</div></div>
<div class="ttc" id="aa00217_html_ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe"><div class="ttname"><a href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe">HWLOC_MEMATTR_ID_LOCALITY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_LOCALITY</div><div class="ttdoc">&quot;Locality&quot;. The locality is returned as the number of PUs in that locality (e.g. the weight of its cp...</div><div class="ttdef"><b>Definition:</b> memattrs.h:91</div></div>
<div class="ttc" id="aa00217_html_ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc"><div class="ttname"><a href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc">HWLOC_MEMATTR_ID_CAPACITY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_CAPACITY</div><div class="ttdoc">&quot;Capacity&quot;. The capacity is returned in bytes (local_memory attribute in objects).</div><div class="ttdef"><b>Definition:</b> memattrs.h:77</div></div>
<div class="ttc" id="aa00217_html_ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19"><div class="ttname"><a href="a00217.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19">HWLOC_MEMATTR_ID_LATENCY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_LATENCY</div><div class="ttdoc">&quot;Latency&quot;. The latency is returned as nanoseconds, as seen from the given initiator location....</div><div class="ttdef"><b>Definition:</b> memattrs.h:107</div></div>
<div class="ttc" id="aa00217_html_ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc"><div class="ttname"><a href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc">HWLOC_LOCAL_NUMANODE_FLAG_LARGER_LOCALITY</a></div><div class="ttdeci">@ HWLOC_LOCAL_NUMANODE_FLAG_LARGER_LOCALITY</div><div class="ttdoc">Select NUMA nodes whose locality is larger than the given cpuset. For instance, if a single PU (or it...</div><div class="ttdef"><b>Definition:</b> memattrs.h:154</div></div>
<div class="ttc" id="aa00217_html_ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57"><div class="ttname"><a href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57">HWLOC_LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY</a></div><div class="ttdeci">@ HWLOC_LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY</div><div class="ttdoc">Select NUMA nodes whose locality is smaller than the given cpuset. For instance, if a package (or its...</div><div class="ttdef"><b>Definition:</b> memattrs.h:161</div></div>
<div class="ttc" id="aa00217_html_ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0"><div class="ttname"><a href="a00217.html#ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0">HWLOC_LOCAL_NUMANODE_FLAG_ALL</a></div><div class="ttdeci">@ HWLOC_LOCAL_NUMANODE_FLAG_ALL</div><div class="ttdoc">Select all NUMA nodes in the topology. The initiator initiator is ignored.</div><div class="ttdef"><b>Definition:</b> memattrs.h:167</div></div>
<div class="ttc" id="aa00218_html_ga049aaa860dcbbf0792f0fd4251a99ec0"><div class="ttname"><a href="a00218.html#ga049aaa860dcbbf0792f0fd4251a99ec0">hwloc_memattr_get_initiators</a></div><div class="ttdeci">int hwloc_memattr_get_initiators(hwloc_topology_t topology, hwloc_memattr_id_t attribute, hwloc_obj_t target_node, unsigned long flags, unsigned *nr, struct hwloc_location *initiators, hwloc_uint64_t *values)</div><div class="ttdoc">Return the initiators that have values for a given attribute for a specific target NUMA node.</div></div>
<div class="ttc" id="aa00218_html_ga3177cc0ab47e4dd1fa69ca1df4c7cb1a"><div class="ttname"><a href="a00218.html#ga3177cc0ab47e4dd1fa69ca1df4c7cb1a">hwloc_memattr_get_targets</a></div><div class="ttdeci">int hwloc_memattr_get_targets(hwloc_topology_t topology, hwloc_memattr_id_t attribute, struct hwloc_location *initiator, unsigned long flags, unsigned *nrp, hwloc_obj_t *targets, hwloc_uint64_t *values)</div><div class="ttdoc">Return the target NUMA nodes that have some values for a given attribute.</div></div>
<div class="ttc" id="aa00218_html_ga4c62b626085adeaffb233e5f2a03a5eb"><div class="ttname"><a href="a00218.html#ga4c62b626085adeaffb233e5f2a03a5eb">hwloc_memattr_get_flags</a></div><div class="ttdeci">int hwloc_memattr_get_flags(hwloc_topology_t topology, hwloc_memattr_id_t attribute, unsigned long *flags)</div><div class="ttdoc">Return the flags of the given attribute.</div></div>
<div class="ttc" id="aa00218_html_ga5300e9be1abdea2e00c18492148aecd0"><div class="ttname"><a href="a00218.html#ga5300e9be1abdea2e00c18492148aecd0">hwloc_memattr_get_name</a></div><div class="ttdeci">int hwloc_memattr_get_name(hwloc_topology_t topology, hwloc_memattr_id_t attribute, const char **name)</div><div class="ttdoc">Return the name of a memory attribute.</div></div>
<div class="ttc" id="aa00218_html_ga770657d1e44b09e93e09f623936c1e5f"><div class="ttname"><a href="a00218.html#ga770657d1e44b09e93e09f623936c1e5f">hwloc_memattr_register</a></div><div class="ttdeci">int hwloc_memattr_register(hwloc_topology_t topology, const char *name, unsigned long flags, hwloc_memattr_id_t *id)</div><div class="ttdoc">Register a new memory attribute.</div></div>
<div class="ttc" id="aa00218_html_ga78aceb4cac4d614c0f5e82dbfeb779e5"><div class="ttname"><a href="a00218.html#ga78aceb4cac4d614c0f5e82dbfeb779e5">hwloc_memattr_flag_e</a></div><div class="ttdeci">hwloc_memattr_flag_e</div><div class="ttdoc">Memory attribute flags. Given to hwloc_memattr_register() and returned by hwloc_memattr_get_flags().</div><div class="ttdef"><b>Definition:</b> memattrs.h:317</div></div>
<div class="ttc" id="aa00218_html_ga960529c08b25cf15825e0f72ecceb504"><div class="ttname"><a href="a00218.html#ga960529c08b25cf15825e0f72ecceb504">hwloc_memattr_set_value</a></div><div class="ttdeci">int hwloc_memattr_set_value(hwloc_topology_t topology, hwloc_memattr_id_t attribute, hwloc_obj_t target_node, struct hwloc_location *initiator, unsigned long flags, hwloc_uint64_t value)</div><div class="ttdoc">Set an attribute value for a specific target NUMA node.</div></div>
<div class="ttc" id="aa00218_html_gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf"><div class="ttname"><a href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf">HWLOC_MEMATTR_FLAG_LOWER_FIRST</a></div><div class="ttdeci">@ HWLOC_MEMATTR_FLAG_LOWER_FIRST</div><div class="ttdoc">The best nodes for this memory attribute are those with the lower values. For instance Latency.</div><div class="ttdef"><b>Definition:</b> memattrs.h:325</div></div>
<div class="ttc" id="aa00218_html_gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96"><div class="ttname"><a href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96">HWLOC_MEMATTR_FLAG_NEED_INITIATOR</a></div><div class="ttdeci">@ HWLOC_MEMATTR_FLAG_NEED_INITIATOR</div><div class="ttdoc">The value returned for this memory attribute depends on the given initiator. For instance Bandwidth a...</div><div class="ttdef"><b>Definition:</b> memattrs.h:329</div></div>
<div class="ttc" id="aa00218_html_gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815"><div class="ttname"><a href="a00218.html#gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815">HWLOC_MEMATTR_FLAG_HIGHER_FIRST</a></div><div class="ttdeci">@ HWLOC_MEMATTR_FLAG_HIGHER_FIRST</div><div class="ttdoc">The best nodes for this memory attribute are those with the higher values. For instance Bandwidth.</div><div class="ttdef"><b>Definition:</b> memattrs.h:321</div></div>
<div class="ttc" id="aa00244_html"><div class="ttname"><a href="a00244.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object.</div><div class="ttdef"><b>Definition:</b> hwloc.h:395</div></div>
<div class="ttc" id="aa00320_html"><div class="ttname"><a href="a00320.html">hwloc_location</a></div><div class="ttdoc">Where to measure attributes from.</div><div class="ttdef"><b>Definition:</b> memattrs.h:134</div></div>
<div class="ttc" id="aa00320_html_a707a25a5b65177e4d081be49aa0777a2"><div class="ttname"><a href="a00320.html#a707a25a5b65177e4d081be49aa0777a2">hwloc_location::location</a></div><div class="ttdeci">union hwloc_location::hwloc_location_u location</div></div>
<div class="ttc" id="aa00320_html_aeb9c0ab74a7d3506a76d0b82600a28a7"><div class="ttname"><a href="a00320.html#aeb9c0ab74a7d3506a76d0b82600a28a7">hwloc_location::type</a></div><div class="ttdeci">enum hwloc_location_type_e type</div><div class="ttdoc">Type of location.</div><div class="ttdef"><b>Definition:</b> memattrs.h:136</div></div>
<div class="ttc" id="aa00324_html"><div class="ttname"><a href="a00324.html">hwloc_location::hwloc_location_u</a></div><div class="ttdoc">Actual location.</div><div class="ttdef"><b>Definition:</b> memattrs.h:138</div></div>
<div class="ttc" id="aa00324_html_a033bad8f6b891992f0c18b85a88c5561"><div class="ttname"><a href="a00324.html#a033bad8f6b891992f0c18b85a88c5561">hwloc_location::hwloc_location_u::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">Location as a cpuset, when the location type is HWLOC_LOCATION_TYPE_CPUSET.</div><div class="ttdef"><b>Definition:</b> memattrs.h:140</div></div>
<div class="ttc" id="aa00324_html_acf2ebf75869f0a53a884ac2ab3374122"><div class="ttname"><a href="a00324.html#acf2ebf75869f0a53a884ac2ab3374122">hwloc_location::hwloc_location_u::object</a></div><div class="ttdeci">hwloc_obj_t object</div><div class="ttdoc">Location as an object, when the location type is HWLOC_LOCATION_TYPE_OBJECT.</div><div class="ttdef"><b>Definition:</b> memattrs.h:142</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>