\hypertarget{helper_8h}{\section{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/helper.h File Reference}
\label{helper_8h}\index{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/helper.\+h@{opal/mca/hwloc/hwloc132/hwloc/include/hwloc/helper.\+h}}
}


High-\/level hwloc traversal helpers.  


{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include $<$errno.\+h$>$}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__types_ga0ffafb4c0ae13b9a7541ca820ca34883}{hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+below\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type)
\begin{DoxyCompactList}\small\item\em Returns the depth of objects of type {\ttfamily type} or below. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__types_ga24b9cd5917fcebac6e45ae38d0a6cda4}{hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+above\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type)
\begin{DoxyCompactList}\small\item\em Returns the depth of objects of type {\ttfamily type} or above. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_ga632edae4a651996895ebde85ea2c1264}{hwloc\+\_\+get\+\_\+root\+\_\+obj} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Returns the top-\/object of the topology-\/tree. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_gafa813c4ff8d610b3e158224a56386b2f}{hwloc\+\_\+get\+\_\+ancestor\+\_\+obj\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, unsigned depth, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj)
\begin{DoxyCompactList}\small\item\em Returns the ancestor object of {\ttfamily obj} at depth {\ttfamily depth}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_ga20ade151cb33991b4cd960924a830764}{hwloc\+\_\+get\+\_\+ancestor\+\_\+obj\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj)
\begin{DoxyCompactList}\small\item\em Returns the ancestor object of {\ttfamily obj} with type {\ttfamily type}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__traversal__basic_gab7c1dce3f42ece5bfa621e87cf332418}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned depth, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Returns the next object at depth {\ttfamily depth}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__traversal__basic_ga5f08ceb69375341e73563cfe2e77534e}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Returns the next object of type {\ttfamily type}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_ga61e00b83e7e0a1a946dc1bb29c49ccba}{hwloc\+\_\+get\+\_\+pu\+\_\+obj\+\_\+by\+\_\+os\+\_\+index} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned os\+\_\+index)
\begin{DoxyCompactList}\small\item\em Returns the object of type \hyperlink{group__hwlocality__types_ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661}{H\+W\+L\+O\+C\+\_\+\+O\+B\+J\+\_\+\+P\+U} with {\ttfamily os\+\_\+index}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__traversal__basic_gae5ef1af636849f77714e1584ba78cf9c}{hwloc\+\_\+get\+\_\+next\+\_\+child} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} parent, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Return the next child. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__helper__traversal__basic_gac574b7b06d2d937002dd538e08dbd554}{static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_gac574b7b06d2d937002dd538e08dbd554}{hwloc\+\_\+get\+\_\+common\+\_\+ancestor\+\_\+obj} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj1, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj2)}\label{group__hwlocality__helper__traversal__basic_gac574b7b06d2d937002dd538e08dbd554}

\begin{DoxyCompactList}\small\item\em Returns the common parent object to objects lvl1 and lvl2. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal__basic_ga38d9bd3a7566d0e6b0ab95d652557707}{hwloc\+\_\+obj\+\_\+is\+\_\+in\+\_\+subtree} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} subtree\+\_\+root)
\begin{DoxyCompactList}\small\item\em Returns true if {\ttfamily obj} is inside the subtree beginning with {\ttfamily subtree\+\_\+root}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__find__inside_gabcd5fa81a95fa5335950cae092277d5b}{hwloc\+\_\+get\+\_\+first\+\_\+largest\+\_\+obj\+\_\+inside\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set)
\begin{DoxyCompactList}\small\item\em Get the first largest object included in the given cpuset {\ttfamily set}. \end{DoxyCompactList}\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{group__hwlocality__helper__find__inside_gaab04c89623662e63a48ed2cd48eb601c}{hwloc\+\_\+get\+\_\+largest\+\_\+objs\+\_\+inside\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} $\ast$\+\_\+\+\_\+hwloc\+\_\+restrict objs, int max)
\begin{DoxyCompactList}\small\item\em Get the set of largest objects covering exactly a given cpuset {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__find__inside_ga8af256c2572f16520f95440b884c1bd6}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, unsigned depth, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Return the next object at depth {\ttfamily depth} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__find__inside_ga934e7ecd68b33403e0c0be779d9ed1e6}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Return the next object of type {\ttfamily type} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__helper__find__inside_ga20703980008f82379f98f56857611a1a}{static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__inside_ga20703980008f82379f98f56857611a1a}{hwloc\+\_\+get\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, unsigned depth, unsigned idx)}\label{group__hwlocality__helper__find__inside_ga20703980008f82379f98f56857611a1a}

\begin{DoxyCompactList}\small\item\em Return the (logically) {\ttfamily idx} -\/th object at depth {\ttfamily depth} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__inside_ga50a80a0021e5843d968c3b97aebaad9b}{hwloc\+\_\+get\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type, unsigned idx)
\begin{DoxyCompactList}\small\item\em Return the {\ttfamily idx} -\/th object of type {\ttfamily type} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline unsigned \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__inside_ga6807db0012369efe19b8d3dcee235493}{hwloc\+\_\+get\+\_\+nbobjs\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, unsigned depth)
\begin{DoxyCompactList}\small\item\em Return the number of objects at depth {\ttfamily depth} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__inside_ga72c5bc4317a4c3938e32447b769813a0}{hwloc\+\_\+get\+\_\+nbobjs\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type)
\begin{DoxyCompactList}\small\item\em Return the number of objects of type {\ttfamily type} included in C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__covering_gab56b99460194bbcb36016d36d55132a7}{hwloc\+\_\+get\+\_\+child\+\_\+covering\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} parent)
\begin{DoxyCompactList}\small\item\em Get the child covering at least C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__covering_ga2a0de36ea0c3c70fb5f4cba0bb192582}{hwloc\+\_\+get\+\_\+obj\+\_\+covering\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set)
\begin{DoxyCompactList}\small\item\em Get the lowest object covering at least C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__find__coverings_ga2f9a4ec15e9cfae8c21501257a51ce5b}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+covering\+\_\+cpuset\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, unsigned depth, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Iterate through same-\/depth objects covering at least C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__helper__find__coverings_ga5915ea30f326676b3a4cfff371ce04d1}{hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+covering\+\_\+cpuset\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Iterate through same-\/type objects covering at least C\+P\+U set {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__cache_gae744419648117cbd613a038074aa0627}{hwloc\+\_\+get\+\_\+cache\+\_\+covering\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} set)
\begin{DoxyCompactList}\small\item\em Get the first cache covering a cpuset {\ttfamily set}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__find__cache_ga75e961873d4b976ab10bc4739248c96d}{hwloc\+\_\+get\+\_\+shared\+\_\+cache\+\_\+covering\+\_\+obj} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj)
\begin{DoxyCompactList}\small\item\em Get the first cache shared between an object and somebody else. \end{DoxyCompactList}\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C unsigned \hyperlink{group__hwlocality__helper__traversal_ga26c2ac4f25b1ed293249c88e232f1bea}{hwloc\+\_\+get\+\_\+closest\+\_\+objs} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} src, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} $\ast$\+\_\+\+\_\+hwloc\+\_\+restrict objs, unsigned max)
\begin{DoxyCompactList}\small\item\em Do a depth-\/first traversal of the topology to find and sort. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal_ga3d32c128aa36b5c9d56f6bf9e70d0e78}{hwloc\+\_\+get\+\_\+obj\+\_\+below\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type1, unsigned idx1, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type2, unsigned idx2)
\begin{DoxyCompactList}\small\item\em Find an object below another object, both specified by types and indexes. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__traversal_ga340bb7021204078c30382ea77d38bde9}{hwloc\+\_\+get\+\_\+obj\+\_\+below\+\_\+array\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, int nr, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} $\ast$typev, unsigned $\ast$idxv)
\begin{DoxyCompactList}\small\item\em Find an object below a chain of objects specified by types and indexes. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void \hyperlink{group__hwlocality__helper__binding_gaf057d7c5e3cb3df897ce527258537619}{hwloc\+\_\+distributev} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} $\ast$root, unsigned n\+\_\+roots, \hyperlink{group__hwlocality__sets_ga4bbf39b68b6f568fb92739e7c0ea7801}{hwloc\+\_\+cpuset\+\_\+t} $\ast$cpuset, unsigned n, unsigned until)
\begin{DoxyCompactList}\small\item\em Distribute {\ttfamily n} items over the topology under {\ttfamily root}. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__helper__binding_ga6d5c88292ad5aa062c1bebc99369c042}{static \+\_\+\+\_\+hwloc\+\_\+inline void {\bfseries hwloc\+\_\+distribute} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} root, \hyperlink{group__hwlocality__sets_ga4bbf39b68b6f568fb92739e7c0ea7801}{hwloc\+\_\+cpuset\+\_\+t} $\ast$cpuset, unsigned n, unsigned until)}\label{group__hwlocality__helper__binding_ga6d5c88292ad5aa062c1bebc99369c042}

\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void $\ast$ \hyperlink{group__hwlocality__helper__binding_ga3e772fbc4de626ed80f13d332b7d4d03}{hwloc\+\_\+alloc\+\_\+membind\+\_\+policy\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, size\+\_\+t len, \hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} nodeset, \hyperlink{group__hwlocality__membinding_gac9764f79505775d06407b40f5e4661e8}{hwloc\+\_\+membind\+\_\+policy\+\_\+t} policy, int flags)
\begin{DoxyCompactList}\small\item\em Allocate some memory on the given nodeset {\ttfamily nodeset}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void $\ast$ \hyperlink{group__hwlocality__helper__binding_ga6178c6a9ec1dd88ec9f6a9fcdcc7d634}{hwloc\+\_\+alloc\+\_\+membind\+\_\+policy} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, size\+\_\+t len, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} cpuset, \hyperlink{group__hwlocality__membinding_gac9764f79505775d06407b40f5e4661e8}{hwloc\+\_\+membind\+\_\+policy\+\_\+t} policy, int flags)
\begin{DoxyCompactList}\small\item\em Allocate some memory on the memory nodes near given cpuset {\ttfamily cpuset}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__cpuset_ga75f0ac3ac41e9915541c3ae3153a6e26}{hwloc\+\_\+topology\+\_\+get\+\_\+complete\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get complete C\+P\+U set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__cpuset_ga4497338d1cbae6f8a6d68cb14234d5d8}{hwloc\+\_\+topology\+\_\+get\+\_\+topology\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get topology C\+P\+U set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__cpuset_gad00abc77f1670049a5b2139471d0c8db}{hwloc\+\_\+topology\+\_\+get\+\_\+online\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get online C\+P\+U set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__cpuset_ga95f116c4c0b1ff2c6418c16341fc2e57}{hwloc\+\_\+topology\+\_\+get\+\_\+allowed\+\_\+cpuset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get allowed C\+P\+U set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__nodeset_gaf8331b6d5e60c463f7ebe21a878561d4}{hwloc\+\_\+topology\+\_\+get\+\_\+complete\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get complete node set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__nodeset_gae6821ede7676dfac0515a4b7b04b0397}{hwloc\+\_\+topology\+\_\+get\+\_\+topology\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get topology node set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \\*
\hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__helper__nodeset_ga5d829323f8d283687be43ea8c894eb3b}{hwloc\+\_\+topology\+\_\+get\+\_\+allowed\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology)
\begin{DoxyCompactList}\small\item\em Get allowed node set. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void \hyperlink{group__hwlocality__helper__nodeset__convert_ga60ecc4ae480c28b5fbd34aca4fc37daa}{hwloc\+\_\+cpuset\+\_\+to\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} cpuset, \hyperlink{group__hwlocality__sets_ga37e35730fa7e775b5bb0afe893d6d508}{hwloc\+\_\+nodeset\+\_\+t} nodeset)
\begin{DoxyCompactList}\small\item\em Convert a C\+P\+U set into a N\+U\+M\+A node set and handle non-\/\+N\+U\+M\+A cases. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void \hyperlink{group__hwlocality__helper__nodeset__convert_ga9162785e39d7c697f76f99524c4a2fb4}{hwloc\+\_\+cpuset\+\_\+to\+\_\+nodeset\+\_\+strict} (struct \hyperlink{structhwloc__topology}{hwloc\+\_\+topology} $\ast$topology, \hyperlink{group__hwlocality__sets_ga1f784433e9b606261f62d1134f6a3b25}{hwloc\+\_\+const\+\_\+cpuset\+\_\+t} cpuset, \hyperlink{group__hwlocality__sets_ga37e35730fa7e775b5bb0afe893d6d508}{hwloc\+\_\+nodeset\+\_\+t} nodeset)
\begin{DoxyCompactList}\small\item\em Convert a C\+P\+U set into a N\+U\+M\+A node set without handling non-\/\+N\+U\+M\+A cases. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void \hyperlink{group__hwlocality__helper__nodeset__convert_gaa677fd588304b5615de4ea78104adfb5}{hwloc\+\_\+cpuset\+\_\+from\+\_\+nodeset} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__sets_ga4bbf39b68b6f568fb92739e7c0ea7801}{hwloc\+\_\+cpuset\+\_\+t} cpuset, \hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} nodeset)
\begin{DoxyCompactList}\small\item\em Convert a N\+U\+M\+A node set into a C\+P\+U set and handle non-\/\+N\+U\+M\+A cases. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline void \hyperlink{group__hwlocality__helper__nodeset__convert_gaa7c3f39802b00a758c58e024a8119979}{hwloc\+\_\+cpuset\+\_\+from\+\_\+nodeset\+\_\+strict} (struct \hyperlink{structhwloc__topology}{hwloc\+\_\+topology} $\ast$topology, \hyperlink{group__hwlocality__sets_ga4bbf39b68b6f568fb92739e7c0ea7801}{hwloc\+\_\+cpuset\+\_\+t} cpuset, \hyperlink{group__hwlocality__sets_ga2f5276235841ad66a79bedad16a5a10c}{hwloc\+\_\+const\+\_\+nodeset\+\_\+t} nodeset)
\begin{DoxyCompactList}\small\item\em Convert a N\+U\+M\+A node set into a C\+P\+U set without handling non-\/\+N\+U\+M\+A cases. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline const \\*
struct \hyperlink{structhwloc__distances__s}{hwloc\+\_\+distances\+\_\+s} $\ast$ \hyperlink{group__hwlocality__distances_gad4326fa2e0b8b73a2a7f70519876f3a9}{hwloc\+\_\+get\+\_\+whole\+\_\+distance\+\_\+matrix\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned depth)
\begin{DoxyCompactList}\small\item\em Get the distances between all objects at the given depth. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline const \\*
struct \hyperlink{structhwloc__distances__s}{hwloc\+\_\+distances\+\_\+s} $\ast$ \hyperlink{group__hwlocality__distances_ga3398bea7148d4e9f9732537aa97ddd5a}{hwloc\+\_\+get\+\_\+whole\+\_\+distance\+\_\+matrix\+\_\+by\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} type)
\begin{DoxyCompactList}\small\item\em Get the distances between all objects of a given type. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline const \\*
struct \hyperlink{structhwloc__distances__s}{hwloc\+\_\+distances\+\_\+s} $\ast$ \hyperlink{group__hwlocality__distances_ga1411cd4d8a061ad8ee4cec4322e27e50}{hwloc\+\_\+get\+\_\+distance\+\_\+matrix\+\_\+covering\+\_\+obj\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj, unsigned depth, unsigned $\ast$firstp)
\begin{DoxyCompactList}\small\item\em Get distances for the given depth and covering some objects. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \hyperlink{group__hwlocality__distances_ga9addde99e34b815df47625f1d6191839}{hwloc\+\_\+get\+\_\+latency} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj1, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} obj2, float $\ast$latency, float $\ast$reverse\+\_\+latency)
\begin{DoxyCompactList}\small\item\em Get the latency in both directions between two objects. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga3603275746a8792e54415d79763aa9e9}{hwloc\+\_\+get\+\_\+non\+\_\+io\+\_\+ancestor\+\_\+obj} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+unused, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} ioobj)
\begin{DoxyCompactList}\small\item\em Get the first non-\/\+I/\+O ancestor object. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_gad6e1ed122ef3b6e098538d75acd5e3f6}{hwloc\+\_\+get\+\_\+next\+\_\+pcidev} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Get the next P\+C\+I device in the system. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__advanced__io_ga546e1d690c63fb24177f3013ed78ceb1}{static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga546e1d690c63fb24177f3013ed78ceb1}{hwloc\+\_\+get\+\_\+pcidev\+\_\+by\+\_\+busid} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)}\label{group__hwlocality__advanced__io_ga546e1d690c63fb24177f3013ed78ceb1}

\begin{DoxyCompactList}\small\item\em Find the P\+C\+I device object matching the P\+C\+I bus id given domain, bus device and function P\+C\+I bus id. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__advanced__io_ga9d5643f2e337fe1b98e7cce5c1ecb74e}{static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga9d5643f2e337fe1b98e7cce5c1ecb74e}{hwloc\+\_\+get\+\_\+pcidev\+\_\+by\+\_\+busidstring} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, const char $\ast$busid)}\label{group__hwlocality__advanced__io_ga9d5643f2e337fe1b98e7cce5c1ecb74e}

\begin{DoxyCompactList}\small\item\em Find the P\+C\+I device object matching the P\+C\+I bus id given as a string xxxx\+:yy\+:zz.\+t or yy\+:zz.\+t. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga73a5bc6265642e6001f7a10812ab886d}{hwloc\+\_\+get\+\_\+next\+\_\+osdev} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Get the next O\+S device in the system. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga2bd3f856d0fc3c6c02642c17d763b823}{hwloc\+\_\+get\+\_\+next\+\_\+bridge} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} prev)
\begin{DoxyCompactList}\small\item\em Get the next bridge in the system. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__advanced__io_gaef22d6bf5cb0b7f13a863780126a8cb7}{static \+\_\+\+\_\+hwloc\+\_\+inline int {\bfseries hwloc\+\_\+bridge\+\_\+covers\+\_\+pcibus} (\hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} bridge, unsigned domain, unsigned bus)}\label{group__hwlocality__advanced__io_gaef22d6bf5cb0b7f13a863780126a8cb7}

\item 
static \+\_\+\+\_\+hwloc\+\_\+inline \hyperlink{group__hwlocality__objects_ga79b8ab56877ef99ac59b833203391c7d}{hwloc\+\_\+obj\+\_\+t} \hyperlink{group__hwlocality__advanced__io_ga81d4f68afbd68d94eb70d4f5c603eff5}{hwloc\+\_\+get\+\_\+hostbridge\+\_\+by\+\_\+pcibus} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned domain, unsigned bus)
\begin{DoxyCompactList}\small\item\em Find the hostbridge that covers the given P\+C\+I bus. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
High-\/level hwloc traversal helpers. 

