| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=11"/> |
| 6 |
<meta name="generator" content="Doxygen 1.15.0"/> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 |
<title>Hardware Locality (hwloc): memattrs.h Source File</title> |
| 9 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 |
<script type="text/javascript" src="jquery.js"></script> |
| 11 |
<script type="text/javascript" src="dynsections.js"></script> |
| 12 |
<script type="text/javascript" src="clipboard.js"></script> |
| 13 |
<link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 14 |
</head> |
| 15 |
<body> |
| 16 |
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 17 |
<div id="titlearea"> |
| 18 |
<table cellspacing="0" cellpadding="0"> |
| 19 |
<tbody> |
| 20 |
<tr id="projectrow"> |
| 21 |
<td id="projectalign"> |
| 22 |
<div id="projectname">Hardware Locality (hwloc)<span id="projectnumber"> 2.14.0</span> |
| 23 |
</div> |
| 24 |
</td> |
| 25 |
</tr> |
| 26 |
</tbody> |
| 27 |
</table> |
| 28 |
</div> |
| 29 |
<!-- end header part --> |
| 30 |
<!-- Generated by Doxygen 1.15.0 --> |
| 31 |
<script type="text/javascript"> |
| 32 |
$(function() { codefold.init(); }); |
| 33 |
</script> |
| 34 |
<script type="text/javascript" src="menudata.js"></script> |
| 35 |
<script type="text/javascript" src="menu.js"></script> |
| 36 |
<script type="text/javascript"> |
| 37 |
$(function() { |
| 38 |
initMenu('',false,false,'search.php','Search',false); |
| 39 |
}); |
| 40 |
</script> |
| 41 |
<div id="main-nav"></div> |
| 42 |
<div id="nav-path" class="navpath"> |
| 43 |
<ul> |
| 44 |
<li class="navelem"><a href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul> |
| 45 |
</div> |
| 46 |
</div><!-- top --> |
| 47 |
<div id="doc-content"> |
| 48 |
<div class="header"> |
| 49 |
<div class="headertitle"><div class="title">memattrs.h</div></div> |
| 50 |
</div><!--header--> |
| 51 |
<div class="contents"> |
| 52 |
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div> |
| 53 |
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div> |
| 54 |
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright © 2019-2025 Inria. All rights reserved.</span></div> |
| 55 |
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * See COPYING in top-level directory.</span></div> |
| 56 |
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> */</span></div> |
| 57 |
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span></div> |
| 58 |
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div> |
| 59 |
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#ifndef HWLOC_MEMATTR_H</span></div> |
| 60 |
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#define HWLOC_MEMATTR_H</span></div> |
| 61 |
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div> |
| 62 |
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include "hwloc.h"</span></div> |
| 63 |
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div> |
| 64 |
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#ifdef __cplusplus</span></div> |
| 65 |
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> |
| 66 |
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#elif 0</span></div> |
| 67 |
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>}</div> |
| 68 |
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#endif</span></div> |
| 69 |
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span></div> |
| 70 |
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span></div> |
| 71 |
<div class="foldopen" id="foldopen00082" data-start="{" data-end="};"> |
| 72 |
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="a00195.html#gab4bde745db676fc2ea4b47011cd9a80e"> 82</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00195.html#gab4bde745db676fc2ea4b47011cd9a80e">hwloc_memattr_id_e</a> {</div> |
| 73 |
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc"> 94</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc">HWLOC_MEMATTR_ID_CAPACITY</a> = 0,</div> |
| 74 |
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span></div> |
| 75 |
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe"> 111</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe">HWLOC_MEMATTR_ID_LOCALITY</a> = 1,</div> |
| 76 |
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span></div> |
| 77 |
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f"> 126</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f">HWLOC_MEMATTR_ID_BANDWIDTH</a> = 2,</div> |
| 78 |
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span></div> |
| 79 |
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eac34dce925d3dadb7e255391d142b4828"> 137</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eac34dce925d3dadb7e255391d142b4828">HWLOC_MEMATTR_ID_READ_BANDWIDTH</a> = 4,</div> |
| 80 |
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span></div> |
| 81 |
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea44762e8ebe327cfe665cccf1f58f7530"> 148</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea44762e8ebe327cfe665cccf1f58f7530">HWLOC_MEMATTR_ID_WRITE_BANDWIDTH</a> = 5,</div> |
| 82 |
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span></div> |
| 83 |
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19"> 163</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19">HWLOC_MEMATTR_ID_LATENCY</a> = 3,</div> |
| 84 |
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span></div> |
| 85 |
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea52cab56571c7fafea42a694d80ad3dd0"> 174</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea52cab56571c7fafea42a694d80ad3dd0">HWLOC_MEMATTR_ID_READ_LATENCY</a> = 6,</div> |
| 86 |
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span></div> |
| 87 |
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaaf6cd383da87dc9f5e3a608a535a768e"> 185</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaaf6cd383da87dc9f5e3a608a535a768e">HWLOC_MEMATTR_ID_WRITE_LATENCY</a> = 7,</div> |
| 88 |
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div> |
| 89 |
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="comment">/* TODO persistence? */</span></div> |
| 90 |
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div> |
| 91 |
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> HWLOC_MEMATTR_ID_MAX </div> |
| 92 |
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span>};</div> |
| 93 |
</div> |
| 94 |
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span></div> |
| 95 |
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="a00195.html#gacc82003a8610be554615995f0996c888"> 203</a></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a>;</div> |
| 96 |
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span></div> |
| 97 |
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 98 |
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="a00195.html#ga79f44f8e1cfd2f97a19171417a75a137"> 211</a></span><a class="code hl_function" href="a00195.html#ga79f44f8e1cfd2f97a19171417a75a137">hwloc_memattr_get_by_name</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 99 |
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> |
| 100 |
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> *<span class="keywordtype">id</span>);</div> |
| 101 |
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div> |
| 102 |
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span></div> |
| 103 |
<div class="foldopen" id="foldopen00217" data-start="{" data-end="};"> |
| 104 |
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="a00195.html#ga33099ba58f607fc70925da3777688586"> 217</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00195.html#ga33099ba58f607fc70925da3777688586">hwloc_location_type_e</a> {</div> |
| 105 |
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="a00195.html#gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174"> 219</a></span> <a class="code hl_enumvalue" href="a00195.html#gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174">HWLOC_LOCATION_TYPE_CPUSET</a> = 1,</div> |
| 106 |
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="a00195.html#gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84"> 221</a></span> <a class="code hl_enumvalue" href="a00195.html#gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84">HWLOC_LOCATION_TYPE_OBJECT</a> = 0</div> |
| 107 |
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span>};</div> |
| 108 |
</div> |
| 109 |
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span></div> |
| 110 |
<div class="foldopen" id="foldopen00225" data-start="{" data-end="};"> |
| 111 |
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="a00300.html"> 225</a></span><span class="keyword">struct </span><a class="code hl_struct" href="a00300.html">hwloc_location</a> {</div> |
| 112 |
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="a00300.html#aeb9c0ab74a7d3506a76d0b82600a28a7"> 227</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="a00195.html#ga33099ba58f607fc70925da3777688586">hwloc_location_type_e</a> <a class="code hl_variable" href="a00300.html#aeb9c0ab74a7d3506a76d0b82600a28a7">type</a>;</div> |
| 113 |
<div class="foldopen" id="foldopen00229" data-start="{" data-end="};"> |
| 114 |
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="a00304.html"> 229</a></span> <span class="keyword">union </span><a class="code hl_union" href="a00304.html">hwloc_location_u</a> {</div> |
| 115 |
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="a00304.html#a033bad8f6b891992f0c18b85a88c5561"> 231</a></span> <a class="code hl_typedef" href="a00166.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <a class="code hl_variable" href="a00304.html#a033bad8f6b891992f0c18b85a88c5561">cpuset</a>;</div> |
| 116 |
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="a00304.html#acf2ebf75869f0a53a884ac2ab3374122"> 233</a></span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> <a class="code hl_variable" href="a00304.html#acf2ebf75869f0a53a884ac2ab3374122">object</a>;</div> |
| 117 |
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="a00300.html#a707a25a5b65177e4d081be49aa0777a2"> 234</a></span> } <a class="code hl_variable" href="a00300.html#a707a25a5b65177e4d081be49aa0777a2">location</a>;</div> |
| 118 |
</div> |
| 119 |
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span>};</div> |
| 120 |
</div> |
| 121 |
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div> |
| 122 |
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span></div> |
| 123 |
<div class="foldopen" id="foldopen00239" data-start="{" data-end="};"> |
| 124 |
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="a00195.html#gab9c963ca37255da71b00d94e1b106f9d"> 239</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00195.html#gab9c963ca37255da71b00d94e1b106f9d">hwloc_local_numanode_flag_e</a> {</div> |
| 125 |
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc"> 245</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc">HWLOC_LOCAL_NUMANODE_FLAG_LARGER_LOCALITY</a> = (1UL<<0),</div> |
| 126 |
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span></div> |
| 127 |
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57"> 252</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57">HWLOC_LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY</a> = (1UL<<1),</div> |
| 128 |
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span></div> |
| 129 |
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9da63688752fccbfc4d55b20da28fcb2430"> 262</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9da63688752fccbfc4d55b20da28fcb2430">HWLOC_LOCAL_NUMANODE_FLAG_INTERSECT_LOCALITY</a> = (1UL<<3),</div> |
| 130 |
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span></div> |
| 131 |
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0"> 268</a></span> <a class="code hl_enumvalue" href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0">HWLOC_LOCAL_NUMANODE_FLAG_ALL</a> = (1UL<<2)</div> |
| 132 |
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span>};</div> |
| 133 |
</div> |
| 134 |
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span></div> |
| 135 |
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 136 |
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="a00195.html#ga569e80c5be7ef27649b0ef5aa52ffcdc"> 303</a></span><a class="code hl_function" href="a00195.html#ga569e80c5be7ef27649b0ef5aa52ffcdc">hwloc_get_local_numanode_objs</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 137 |
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *location,</div> |
| 138 |
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordtype">unsigned</span> *nr,</div> |
| 139 |
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *nodes,</div> |
| 140 |
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div> |
| 141 |
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span></div> |
| 142 |
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 143 |
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="a00195.html#gae7ff5d6f04d3bb71a3259cf1ff3afaed"> 357</a></span><a class="code hl_function" href="a00195.html#gae7ff5d6f04d3bb71a3259cf1ff3afaed">hwloc_topology_get_default_nodeset</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 144 |
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <a class="code hl_typedef" href="a00166.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset,</div> |
| 145 |
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div> |
| 146 |
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span></div> |
| 147 |
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 148 |
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"><a class="line" href="a00195.html#ga297e4a9adc2272446a4c7449dacef0df"> 384</a></span><a class="code hl_function" href="a00195.html#ga297e4a9adc2272446a4c7449dacef0df">hwloc_memattr_get_value</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 149 |
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 150 |
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> target_node,</div> |
| 151 |
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *initiator,</div> |
| 152 |
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 153 |
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> hwloc_uint64_t *value);</div> |
| 154 |
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span></div> |
| 155 |
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 156 |
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="a00195.html#ga884d1f2ad745c2fa69c1583c82d28f10"> 420</a></span><a class="code hl_function" href="a00195.html#ga884d1f2ad745c2fa69c1583c82d28f10">hwloc_memattr_get_best_target</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 157 |
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 158 |
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *initiator,</div> |
| 159 |
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 160 |
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *best_target, hwloc_uint64_t *value);</div> |
| 161 |
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span></div> |
| 162 |
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 163 |
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"><a class="line" href="a00195.html#gaf6b746dd3494772db18eaf760a5dd9c0"> 450</a></span><a class="code hl_function" href="a00195.html#gaf6b746dd3494772db18eaf760a5dd9c0">hwloc_memattr_get_best_initiator</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 164 |
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 165 |
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> target_node,</div> |
| 166 |
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 167 |
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *best_initiator, hwloc_uint64_t *value);</div> |
| 168 |
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span></div> |
| 169 |
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 170 |
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="a00195.html#gac8c06c1c89ab352c5db8e04a75033513"> 495</a></span><a class="code hl_function" href="a00195.html#gac8c06c1c89ab352c5db8e04a75033513">hwloc_memattr_get_targets</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 171 |
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 172 |
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *initiator,</div> |
| 173 |
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 174 |
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> <span class="keywordtype">unsigned</span> *nr, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *targets, hwloc_uint64_t *values);</div> |
| 175 |
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span></div> |
| 176 |
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 177 |
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"><a class="line" href="a00195.html#ga049aaa860dcbbf0792f0fd4251a99ec0"> 535</a></span><a class="code hl_function" href="a00195.html#ga049aaa860dcbbf0792f0fd4251a99ec0">hwloc_memattr_get_initiators</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 178 |
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 179 |
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> target_node,</div> |
| 180 |
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 181 |
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> <span class="keywordtype">unsigned</span> *nr, <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *initiators, hwloc_uint64_t *values);</div> |
| 182 |
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span></div> |
| 183 |
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> </div> |
| 184 |
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span></div> |
| 185 |
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span></div> |
| 186 |
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 187 |
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"><a class="line" href="a00196.html#ga5300e9be1abdea2e00c18492148aecd0"> 576</a></span><a class="code hl_function" href="a00196.html#ga5300e9be1abdea2e00c18492148aecd0">hwloc_memattr_get_name</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 188 |
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 189 |
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> <span class="keyword">const</span> <span class="keywordtype">char</span> **name);</div> |
| 190 |
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span></div> |
| 191 |
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 192 |
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="a00196.html#ga4c62b626085adeaffb233e5f2a03a5eb"> 590</a></span><a class="code hl_function" href="a00196.html#ga4c62b626085adeaffb233e5f2a03a5eb">hwloc_memattr_get_flags</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 193 |
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 194 |
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *flags);</div> |
| 195 |
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span></div> |
| 196 |
<div class="foldopen" id="foldopen00597" data-start="{" data-end="};"> |
| 197 |
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"><a class="line" href="a00196.html#ga78aceb4cac4d614c0f5e82dbfeb779e5"> 597</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00196.html#ga78aceb4cac4d614c0f5e82dbfeb779e5">hwloc_memattr_flag_e</a> {</div> |
| 198 |
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815"> 601</a></span> <a class="code hl_enumvalue" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815">HWLOC_MEMATTR_FLAG_HIGHER_FIRST</a> = (1UL<<0),</div> |
| 199 |
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"><a class="line" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf"> 605</a></span> <a class="code hl_enumvalue" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf">HWLOC_MEMATTR_FLAG_LOWER_FIRST</a> = (1UL<<1),</div> |
| 200 |
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96"> 609</a></span> <a class="code hl_enumvalue" href="a00196.html#gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96">HWLOC_MEMATTR_FLAG_NEED_INITIATOR</a> = (1UL<<2)</div> |
| 201 |
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span>};</div> |
| 202 |
</div> |
| 203 |
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span></div> |
| 204 |
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"> 626</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 205 |
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"><a class="line" href="a00196.html#ga770657d1e44b09e93e09f623936c1e5f"> 627</a></span><a class="code hl_function" href="a00196.html#ga770657d1e44b09e93e09f623936c1e5f">hwloc_memattr_register</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 206 |
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"> 628</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> |
| 207 |
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"> 629</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 208 |
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"> 630</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> *<span class="keywordtype">id</span>);</div> |
| 209 |
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"> 631</span></div> |
| 210 |
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div> |
| 211 |
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"><a class="line" href="a00196.html#ga960529c08b25cf15825e0f72ecceb504"> 658</a></span><a class="code hl_function" href="a00196.html#ga960529c08b25cf15825e0f72ecceb504">hwloc_memattr_set_value</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 212 |
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span> <a class="code hl_typedef" href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a> attribute,</div> |
| 213 |
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> target_node,</div> |
| 214 |
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span> <span class="keyword">struct</span> <a class="code hl_struct" href="a00300.html">hwloc_location</a> *initiator,</div> |
| 215 |
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno"> 662</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags,</div> |
| 216 |
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span> hwloc_uint64_t value);</div> |
| 217 |
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span></div> |
| 218 |
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> </div> |
| 219 |
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span><span class="preprocessor">#ifdef __cplusplus</span></div> |
| 220 |
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span>} <span class="comment">/* extern "C" */</span></div> |
| 221 |
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span><span class="preprocessor">#endif</span></div> |
| 222 |
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> </div> |
| 223 |
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> </div> |
| 224 |
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span><span class="preprocessor">#endif </span><span class="comment">/* HWLOC_MEMATTR_H */</span><span class="preprocessor"></span></div> |
| 225 |
<div class="ttc" id="aa00166_html_ga37e35730fa7e775b5bb0afe893d6d508"><div class="ttname"><a href="a00166.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_nodeset_t</div><div class="ttdoc">A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes.</div><div class="ttdef"><b>Definition</b> hwloc.h:183</div></div> |
| 226 |
<div class="ttc" id="aa00166_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00166.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:165</div></div> |
| 227 |
<div class="ttc" id="aa00168_html_ga79b8ab56877ef99ac59b833203391c7d"><div class="ttname"><a href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></div><div class="ttdeci">struct hwloc_obj * hwloc_obj_t</div><div class="ttdoc">Convenience typedef; a pointer to a struct hwloc_obj.</div><div class="ttdef"><b>Definition</b> hwloc.h:637</div></div> |
| 228 |
<div class="ttc" id="aa00169_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00169.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:748</div></div> |
| 229 |
<div class="ttc" id="aa00195_html_ga049aaa860dcbbf0792f0fd4251a99ec0"><div class="ttname"><a href="a00195.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> |
| 230 |
<div class="ttc" id="aa00195_html_ga297e4a9adc2272446a4c7449dacef0df"><div class="ttname"><a href="a00195.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> |
| 231 |
<div class="ttc" id="aa00195_html_ga33099ba58f607fc70925da3777688586"><div class="ttname"><a href="a00195.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:217</div></div> |
| 232 |
<div class="ttc" id="aa00195_html_ga569e80c5be7ef27649b0ef5aa52ffcdc"><div class="ttname"><a href="a00195.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> |
| 233 |
<div class="ttc" id="aa00195_html_ga79f44f8e1cfd2f97a19171417a75a137"><div class="ttname"><a href="a00195.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> |
| 234 |
<div class="ttc" id="aa00195_html_ga884d1f2ad745c2fa69c1583c82d28f10"><div class="ttname"><a href="a00195.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> |
| 235 |
<div class="ttc" id="aa00195_html_gab4bde745db676fc2ea4b47011cd9a80e"><div class="ttname"><a href="a00195.html#gab4bde745db676fc2ea4b47011cd9a80e">hwloc_memattr_id_e</a></div><div class="ttdeci">hwloc_memattr_id_e</div><div class="ttdoc">Predefined memory attribute IDs. See hwloc_memattr_id_t for the generic definition of IDs for predefi...</div><div class="ttdef"><b>Definition</b> memattrs.h:82</div></div> |
| 236 |
<div class="ttc" id="aa00195_html_gab9c963ca37255da71b00d94e1b106f9d"><div class="ttname"><a href="a00195.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:239</div></div> |
| 237 |
<div class="ttc" id="aa00195_html_gac8c06c1c89ab352c5db8e04a75033513"><div class="ttname"><a href="a00195.html#gac8c06c1c89ab352c5db8e04a75033513">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 *nr, 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> |
| 238 |
<div class="ttc" id="aa00195_html_gacc82003a8610be554615995f0996c888"><div class="ttname"><a href="a00195.html#gacc82003a8610be554615995f0996c888">hwloc_memattr_id_t</a></div><div class="ttdeci">unsigned hwloc_memattr_id_t</div><div class="ttdoc">A memory attribute identifier.</div><div class="ttdef"><b>Definition</b> memattrs.h:203</div></div> |
| 239 |
<div class="ttc" id="aa00195_html_gae7ff5d6f04d3bb71a3259cf1ff3afaed"><div class="ttname"><a href="a00195.html#gae7ff5d6f04d3bb71a3259cf1ff3afaed">hwloc_topology_get_default_nodeset</a></div><div class="ttdeci">int hwloc_topology_get_default_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, unsigned long flags)</div><div class="ttdoc">Return the set of default NUMA nodes.</div></div> |
| 240 |
<div class="ttc" id="aa00195_html_gaf6b746dd3494772db18eaf760a5dd9c0"><div class="ttname"><a href="a00195.html#gaf6b746dd3494772db18eaf760a5dd9c0">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_node, 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> |
| 241 |
<div class="ttc" id="aa00195_html_gga33099ba58f607fc70925da3777688586a7135318a86361ad75fd1648e6bf6d174"><div class="ttname"><a href="a00195.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:219</div></div> |
| 242 |
<div class="ttc" id="aa00195_html_gga33099ba58f607fc70925da3777688586af637c39b23d48cff15ddb008644aaa84"><div class="ttname"><a href="a00195.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:221</div></div> |
| 243 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea25fe3c7376ae6f9b584bacdb039f8c0f">HWLOC_MEMATTR_ID_BANDWIDTH</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_BANDWIDTH</div><div class="ttdoc">The "Bandwidth" is returned in MiB/s, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:126</div></div> |
| 244 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80ea44762e8ebe327cfe665cccf1f58f7530"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea44762e8ebe327cfe665cccf1f58f7530">HWLOC_MEMATTR_ID_WRITE_BANDWIDTH</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_WRITE_BANDWIDTH</div><div class="ttdoc">The "WriteBandwidth" is returned in MiB/s, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:148</div></div> |
| 245 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80ea52cab56571c7fafea42a694d80ad3dd0"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea52cab56571c7fafea42a694d80ad3dd0">HWLOC_MEMATTR_ID_READ_LATENCY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_READ_LATENCY</div><div class="ttdoc">The "ReadLatency" is returned as nanoseconds, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:174</div></div> |
| 246 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ea9334e3a4c30a67f491c6523255134efe">HWLOC_MEMATTR_ID_LOCALITY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_LOCALITY</div><div class="ttdoc">The "Locality" is returned as the number of PUs in that locality (e.g. the weight of its cpuset).</div><div class="ttdef"><b>Definition</b> memattrs.h:111</div></div> |
| 247 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaa1cfa3ff3d56ff00ecabf7da4f5642cc">HWLOC_MEMATTR_ID_CAPACITY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_CAPACITY</div><div class="ttdoc">The "Capacity" is returned in bytes (local_memory attribute in objects).</div><div class="ttdef"><b>Definition</b> memattrs.h:94</div></div> |
| 248 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80eaaf6cd383da87dc9f5e3a608a535a768e"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eaaf6cd383da87dc9f5e3a608a535a768e">HWLOC_MEMATTR_ID_WRITE_LATENCY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_WRITE_LATENCY</div><div class="ttdoc">The "WriteLatency" is returned as nanoseconds, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:185</div></div> |
| 249 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80eac34dce925d3dadb7e255391d142b4828"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80eac34dce925d3dadb7e255391d142b4828">HWLOC_MEMATTR_ID_READ_BANDWIDTH</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_READ_BANDWIDTH</div><div class="ttdoc">The "ReadBandwidth" is returned in MiB/s, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:137</div></div> |
| 250 |
<div class="ttc" id="aa00195_html_ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19"><div class="ttname"><a href="a00195.html#ggab4bde745db676fc2ea4b47011cd9a80ead1796413759b8b87b61ad195a9349b19">HWLOC_MEMATTR_ID_LATENCY</a></div><div class="ttdeci">@ HWLOC_MEMATTR_ID_LATENCY</div><div class="ttdoc">The "Latency" is returned as nanoseconds, as seen from the given initiator location.</div><div class="ttdef"><b>Definition</b> memattrs.h:163</div></div> |
| 251 |
<div class="ttc" id="aa00195_html_ggab9c963ca37255da71b00d94e1b106f9da200c6c133bb2125ba36d77ce9ca268cc"><div class="ttname"><a href="a00195.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:245</div></div> |
| 252 |
<div class="ttc" id="aa00195_html_ggab9c963ca37255da71b00d94e1b106f9da63688752fccbfc4d55b20da28fcb2430"><div class="ttname"><a href="a00195.html#ggab9c963ca37255da71b00d94e1b106f9da63688752fccbfc4d55b20da28fcb2430">HWLOC_LOCAL_NUMANODE_FLAG_INTERSECT_LOCALITY</a></div><div class="ttdeci">@ HWLOC_LOCAL_NUMANODE_FLAG_INTERSECT_LOCALITY</div><div class="ttdoc">Select NUMA nodes whose locality intersects the given cpuset. This includes larger and smaller locali...</div><div class="ttdef"><b>Definition</b> memattrs.h:262</div></div> |
| 253 |
<div class="ttc" id="aa00195_html_ggab9c963ca37255da71b00d94e1b106f9daac9c5e3a2cfb1b193e4acfceaf3bad57"><div class="ttname"><a href="a00195.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:252</div></div> |
| 254 |
<div class="ttc" id="aa00195_html_ggab9c963ca37255da71b00d94e1b106f9dab5778b34c961a5d56f98f1549edeaed0"><div class="ttname"><a href="a00195.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:268</div></div> |
| 255 |
<div class="ttc" id="aa00196_html_ga4c62b626085adeaffb233e5f2a03a5eb"><div class="ttname"><a href="a00196.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> |
| 256 |
<div class="ttc" id="aa00196_html_ga5300e9be1abdea2e00c18492148aecd0"><div class="ttname"><a href="a00196.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> |
| 257 |
<div class="ttc" id="aa00196_html_ga770657d1e44b09e93e09f623936c1e5f"><div class="ttname"><a href="a00196.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> |
| 258 |
<div class="ttc" id="aa00196_html_ga78aceb4cac4d614c0f5e82dbfeb779e5"><div class="ttname"><a href="a00196.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:597</div></div> |
| 259 |
<div class="ttc" id="aa00196_html_ga960529c08b25cf15825e0f72ecceb504"><div class="ttname"><a href="a00196.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> |
| 260 |
<div class="ttc" id="aa00196_html_gga78aceb4cac4d614c0f5e82dbfeb779e5a9601b5b0e1e68635e7e9901f28bd93bf"><div class="ttname"><a href="a00196.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:605</div></div> |
| 261 |
<div class="ttc" id="aa00196_html_gga78aceb4cac4d614c0f5e82dbfeb779e5a9d16523e285b2e22cfc78cc84dce8c96"><div class="ttname"><a href="a00196.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:609</div></div> |
| 262 |
<div class="ttc" id="aa00196_html_gga78aceb4cac4d614c0f5e82dbfeb779e5af29e65444a6ed00f5cc246df06f65815"><div class="ttname"><a href="a00196.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:601</div></div> |
| 263 |
<div class="ttc" id="aa00300_html"><div class="ttname"><a href="a00300.html">hwloc_location</a></div><div class="ttdoc">Where to measure attributes from.</div><div class="ttdef"><b>Definition</b> memattrs.h:225</div></div> |
| 264 |
<div class="ttc" id="aa00300_html_a707a25a5b65177e4d081be49aa0777a2"><div class="ttname"><a href="a00300.html#a707a25a5b65177e4d081be49aa0777a2">hwloc_location::location</a></div><div class="ttdeci">union hwloc_location::hwloc_location_u location</div></div> |
| 265 |
<div class="ttc" id="aa00300_html_aeb9c0ab74a7d3506a76d0b82600a28a7"><div class="ttname"><a href="a00300.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:227</div></div> |
| 266 |
<div class="ttc" id="aa00304_html"><div class="ttname"><a href="a00304.html">hwloc_location::hwloc_location_u</a></div><div class="ttdoc">Actual location.</div><div class="ttdef"><b>Definition</b> memattrs.h:229</div></div> |
| 267 |
<div class="ttc" id="aa00304_html_a033bad8f6b891992f0c18b85a88c5561"><div class="ttname"><a href="a00304.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:231</div></div> |
| 268 |
<div class="ttc" id="aa00304_html_acf2ebf75869f0a53a884ac2ab3374122"><div class="ttname"><a href="a00304.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:233</div></div> |
| 269 |
</div><!-- fragment --></div><!-- contents --> |
| 270 |
<!-- start footer part --> |
| 271 |
<hr class="footer"/><address class="footer"><small> |
| 272 |
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 |
| 273 |
</small></address> |
| 274 |
</div><!-- doc-content --> |
| 275 |
</body> |
| 276 |
</html> |