|
| 1 | +<?php |
| 2 | +$topdir = "../../../.."; |
| 3 | +# Note that we must use the PHP "$$" indirection to assign to the |
| 4 | +# "title" variable, because if we list "$ title" (without the space) |
| 5 | +# in this file, Doxygen will replace it with a string title. |
| 6 | +$ver = basename(getcwd()); |
| 7 | +$thwarting_doxygen_preprocessor = "title"; |
| 8 | +$$thwarting_doxygen_preprocessor = "Portable Hardware Locality (hwloc) Documentation: $ver"; |
| 9 | +$header_include_file = "$topdir/projects/hwloc/doc/$ver/www.open-mpi.org-css.inc"; |
| 10 | +include_once("$topdir/projects/hwloc/nav.inc"); |
| 11 | +include_once("$topdir/includes/header.inc"); |
| 12 | +include_once("$topdir/includes/code.inc"); |
| 13 | +?> |
| 14 | +<!-- Generated by Doxygen 1.8.13 --> |
| 15 | +<script type="text/javascript" src="menudata.js"></script> |
| 16 | +<script type="text/javascript" src="menu.js"></script> |
| 17 | +<script type="text/javascript"> |
| 18 | +$(function() { |
| 19 | + initMenu('',false,false,'search.php','Search'); |
| 20 | +}); |
| 21 | +</script> |
| 22 | +<div id="main-nav"></div> |
| 23 | +<div id="nav-path" class="navpath"> |
| 24 | + <ul> |
| 25 | +<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.php">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.php">hwloc</a></li> </ul> |
| 26 | +</div> |
| 27 | +</div><!-- top --> |
| 28 | +<div class="header"> |
| 29 | + <div class="headertitle"> |
| 30 | +<div class="title">linux.h</div> </div> |
| 31 | +</div><!--header--> |
| 32 | +<div class="contents"> |
| 33 | +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2011 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef HWLOC_LINUX_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define HWLOC_LINUX_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00145.php#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(FILE *file, <a class="code" href="a00120.php#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00145.php#ga630e699c56b5f3d2e534b475944c216e">hwloc_linux_set_tid_cpubind</a>(<a class="code" href="a00123.php#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00120.php#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00145.php#gaddcb985cb56337a4d6693cee72e7bf94">hwloc_linux_get_tid_cpubind</a>(<a class="code" href="a00123.php#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00120.php#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00145.php#gacc7945c2d06c6db1e58f8fd953009134">hwloc_linux_get_tid_last_cpu_location</a>(<a class="code" href="a00123.php#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00144.php#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_LINUX_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00145_php_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00145.php#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div> |
| 34 | +<div class="ttc" id="a00144_php_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00144.php#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:63</div></div> |
| 35 | +<div class="ttc" id="a00145_php_ga630e699c56b5f3d2e534b475944c216e"><div class="ttname"><a href="a00145.php#ga630e699c56b5f3d2e534b475944c216e">hwloc_linux_set_tid_cpubind</a></div><div class="ttdeci">int hwloc_linux_set_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set)</div><div class="ttdoc">Bind a thread tid on cpus given in cpuset set. </div></div> |
| 36 | +<div class="ttc" id="a00145_php_gacc7945c2d06c6db1e58f8fd953009134"><div class="ttname"><a href="a00145.php#gacc7945c2d06c6db1e58f8fd953009134">hwloc_linux_get_tid_last_cpu_location</a></div><div class="ttdeci">int hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology, pid_t tid, hwloc_bitmap_t set)</div><div class="ttdoc">Get the last physical CPU where thread tid ran. </div></div> |
| 37 | +<div class="ttc" id="a00120_php_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00120.php#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div> |
| 38 | +<div class="ttc" id="a00120_php_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00120.php#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:132</div></div> |
| 39 | +<div class="ttc" id="a00145_php_gaddcb985cb56337a4d6693cee72e7bf94"><div class="ttname"><a href="a00145.php#gaddcb985cb56337a4d6693cee72e7bf94">hwloc_linux_get_tid_cpubind</a></div><div class="ttdeci">int hwloc_linux_get_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set)</div><div class="ttdoc">Get the current binding of thread tid. </div></div> |
| 40 | +<div class="ttc" id="a00123_php_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00123.php#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:632</div></div> |
| 41 | +</div><!-- fragment --></div><!-- contents --> |
| 42 | +<?php |
| 43 | +include_once("$topdir/includes/footer.inc"); |
0 commit comments