\hypertarget{group__hwlocality__information}{\section{Get Some Topology Information}
\label{group__hwlocality__information}\index{Get Some Topology Information@{Get Some Topology Information}}
}


Be sure to see the figure in termsanddefs that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one socket has fewer caches than its peers.  


\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__hwlocality__information_gaf4e663cf42bbe20756b849c6293ef575}{hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e} \{ \\*
\hyperlink{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N}, 
\hyperlink{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E}, 
\hyperlink{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E}, 
\hyperlink{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E}, 
\\*
\hyperlink{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C unsigned \hyperlink{group__hwlocality__information_ga8c30b0cec55074eb3ed34e4f2a1a9937}{hwloc\+\_\+topology\+\_\+get\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} \+\_\+\+\_\+hwloc\+\_\+restrict topology) \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure
\begin{DoxyCompactList}\small\item\em Get the depth of the hierarchical tree of objects. \end{DoxyCompactList}\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{group__hwlocality__information_gaea7c64dd59467f5201ba87712710b14d}{hwloc\+\_\+get\+\_\+type\+\_\+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}. \end{DoxyCompactList}\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{group__hwlocality__types_gacd37bb612667dc437d66bfb175a8dc55}{hwloc\+\_\+obj\+\_\+type\+\_\+t} \hyperlink{group__hwlocality__information_gadd4964764ae7e49231065d58a553fd31}{hwloc\+\_\+get\+\_\+depth\+\_\+type} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned depth) \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure
\begin{DoxyCompactList}\small\item\em Returns the type of objects at depth {\ttfamily depth}. \end{DoxyCompactList}\item 
\hypertarget{group__hwlocality__information_ga20cfe2456f4cfdd789c9aca6d2fdd69f}{H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C unsigned \hyperlink{group__hwlocality__information_ga20cfe2456f4cfdd789c9aca6d2fdd69f}{hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+depth} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} topology, unsigned depth) \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure}\label{group__hwlocality__information_ga20cfe2456f4cfdd789c9aca6d2fdd69f}

\begin{DoxyCompactList}\small\item\em Returns the width of level at depth {\ttfamily depth}. \end{DoxyCompactList}\item 
static \+\_\+\+\_\+hwloc\+\_\+inline int \\*
\+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure \hyperlink{group__hwlocality__information_ga0131ab1051011fabfa69d7c1853e716c}{hwloc\+\_\+get\+\_\+nbobjs\+\_\+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 Returns the width of level type {\ttfamily type}. \end{DoxyCompactList}\item 
H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{group__hwlocality__information_ga0d109e33fc7990f62f665d336e5e5111}{hwloc\+\_\+topology\+\_\+is\+\_\+thissystem} (\hyperlink{group__hwlocality__topology_ga9d1e76ee15a7dee158b786c30b6a6e38}{hwloc\+\_\+topology\+\_\+t} \+\_\+\+\_\+hwloc\+\_\+restrict topology) \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure
\begin{DoxyCompactList}\small\item\em Does the topology context come from this system? \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Be sure to see the figure in termsanddefs that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one socket has fewer caches than its peers. 



\subsection{Enumeration Type Documentation}
\hypertarget{group__hwlocality__information_gaf4e663cf42bbe20756b849c6293ef575}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e@{hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e}}
\index{hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e@{hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf hwloc\+\_\+get\+\_\+type\+\_\+depth\+\_\+e}}}\label{group__hwlocality__information_gaf4e663cf42bbe20756b849c6293ef575}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N}!Get Some Topology Information@{Get Some Topology Information}}\index{Get Some Topology Information@{Get Some Topology Information}!H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N}}\item[{\em 
\hypertarget{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N}\label{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad}
}]No object of given type exists in the topology. \index{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E}!Get Some Topology Information@{Get Some Topology Information}}\index{Get Some Topology Information@{Get Some Topology Information}!H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E}}\item[{\em 
\hypertarget{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E}\label{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c}
}]Objects of given type exist at different depth in the topology. \index{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E}!Get Some Topology Information@{Get Some Topology Information}}\index{Get Some Topology Information@{Get Some Topology Information}!H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E}}\item[{\em 
\hypertarget{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E}\label{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90}
}]Virtual depth for bridge object level. \index{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E}!Get Some Topology Information@{Get Some Topology Information}}\index{Get Some Topology Information@{Get Some Topology Information}!H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E}}\item[{\em 
\hypertarget{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E}\label{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c}
}]Virtual depth for P\+C\+I device object level. \index{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E}!Get Some Topology Information@{Get Some Topology Information}}\index{Get Some Topology Information@{Get Some Topology Information}!H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E@{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E}}\item[{\em 
\hypertarget{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46}{H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E}\label{group__hwlocality__information_ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46}
}]Virtual depth for software device object level. \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__hwlocality__information_gadd4964764ae7e49231065d58a553fd31}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+get\+\_\+depth\+\_\+type@{hwloc\+\_\+get\+\_\+depth\+\_\+type}}
\index{hwloc\+\_\+get\+\_\+depth\+\_\+type@{hwloc\+\_\+get\+\_\+depth\+\_\+type}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+get\+\_\+depth\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C {\bf hwloc\+\_\+obj\+\_\+type\+\_\+t} hwloc\+\_\+get\+\_\+depth\+\_\+type (
\begin{DoxyParamCaption}
\item[{{\bf hwloc\+\_\+topology\+\_\+t}}]{topology, }
\item[{unsigned}]{depth}
\end{DoxyParamCaption}
)}}\label{group__hwlocality__information_gadd4964764ae7e49231065d58a553fd31}


Returns the type of objects at depth {\ttfamily depth}. 

\begin{DoxyReturn}{Returns}
-\/1 if depth {\ttfamily depth} does not exist. 
\end{DoxyReturn}


References H\+W\+L\+O\+C\+\_\+\+O\+B\+J\+\_\+\+B\+R\+I\+D\+G\+E, H\+W\+L\+O\+C\+\_\+\+O\+B\+J\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E, H\+W\+L\+O\+C\+\_\+\+O\+B\+J\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E, H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+R\+I\+D\+G\+E, H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+O\+S\+\_\+\+D\+E\+V\+I\+C\+E, H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+P\+C\+I\+\_\+\+D\+E\+V\+I\+C\+E, and hwloc\+\_\+obj\+::type.



Referenced by hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+above\+\_\+depth(), and hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+below\+\_\+depth().

\hypertarget{group__hwlocality__information_ga0131ab1051011fabfa69d7c1853e716c}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type@{hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type}}
\index{hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type@{hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}static \+\_\+\+\_\+hwloc\+\_\+inline int \+\_\+\+\_\+hwloc\+\_\+attribute\+\_\+pure hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type (
\begin{DoxyParamCaption}
\item[{{\bf hwloc\+\_\+topology\+\_\+t}}]{topology, }
\item[{{\bf hwloc\+\_\+obj\+\_\+type\+\_\+t}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{group__hwlocality__information_ga0131ab1051011fabfa69d7c1853e716c}


Returns the width of level type {\ttfamily type}. 

If no object for that type exists, 0 is returned. If there are several levels with objects of that type, -\/1 is returned. 

References hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+depth(), hwloc\+\_\+get\+\_\+type\+\_\+depth(), H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E, and H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N.

\hypertarget{group__hwlocality__information_gaea7c64dd59467f5201ba87712710b14d}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+get\+\_\+type\+\_\+depth@{hwloc\+\_\+get\+\_\+type\+\_\+depth}}
\index{hwloc\+\_\+get\+\_\+type\+\_\+depth@{hwloc\+\_\+get\+\_\+type\+\_\+depth}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+get\+\_\+type\+\_\+depth}]{\setlength{\rightskip}{0pt plus 5cm}H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int hwloc\+\_\+get\+\_\+type\+\_\+depth (
\begin{DoxyParamCaption}
\item[{{\bf hwloc\+\_\+topology\+\_\+t}}]{topology, }
\item[{{\bf hwloc\+\_\+obj\+\_\+type\+\_\+t}}]{type}
\end{DoxyParamCaption}
)}}\label{group__hwlocality__information_gaea7c64dd59467f5201ba87712710b14d}


Returns the depth of objects of type {\ttfamily type}. 

If no object of this type is present on the underlying architecture, or if the O\+S doesn't provide this kind of information, the function returns H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+U\+N\+K\+N\+O\+W\+N.

If type is absent but a similar type is acceptable, see also \hyperlink{group__hwlocality__helper__types_ga0ffafb4c0ae13b9a7541ca820ca34883}{hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+below\+\_\+depth()} and \hyperlink{group__hwlocality__helper__types_ga24b9cd5917fcebac6e45ae38d0a6cda4}{hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+above\+\_\+depth()}.

If some objects of the given type exist in different levels, for instance L1 and L2 caches, the function returns H\+W\+L\+O\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+P\+T\+H\+\_\+\+M\+U\+L\+T\+I\+P\+L\+E.

If an I/\+O object type is given, the function returns a virtual value because I/\+O objects are stored in special levels that are not C\+P\+U-\/related. This virtual depth may be passed to other hwloc functions such as \hyperlink{group__hwlocality__traversal_gaedd78240b0c1108355586a268ec5a697}{hwloc\+\_\+get\+\_\+obj\+\_\+by\+\_\+depth()} but it should not be considered as an actual depth by the application. In particular, it should not be compared with any other object depth or with the entire topology depth. 

Referenced by hwloc\+\_\+cpuset\+\_\+from\+\_\+linux\+\_\+libnuma\+\_\+bitmask(), hwloc\+\_\+cpuset\+\_\+from\+\_\+linux\+\_\+libnuma\+\_\+ulongs(), hwloc\+\_\+cpuset\+\_\+from\+\_\+nodeset(), hwloc\+\_\+cpuset\+\_\+from\+\_\+nodeset\+\_\+strict(), hwloc\+\_\+cpuset\+\_\+to\+\_\+linux\+\_\+libnuma\+\_\+bitmask(), hwloc\+\_\+cpuset\+\_\+to\+\_\+linux\+\_\+libnuma\+\_\+ulongs(), hwloc\+\_\+cpuset\+\_\+to\+\_\+nodeset(), hwloc\+\_\+cpuset\+\_\+to\+\_\+nodeset\+\_\+strict(), hwloc\+\_\+get\+\_\+nbobjs\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+nbobjs\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+covering\+\_\+cpuset\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+next\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+obj\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+obj\+\_\+inside\+\_\+cpuset\+\_\+by\+\_\+type(), hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+above\+\_\+depth(), hwloc\+\_\+get\+\_\+type\+\_\+or\+\_\+below\+\_\+depth(), hwloc\+\_\+get\+\_\+whole\+\_\+distance\+\_\+matrix\+\_\+by\+\_\+type(), hwloc\+\_\+nodeset\+\_\+from\+\_\+linux\+\_\+libnuma\+\_\+bitmask(), hwloc\+\_\+nodeset\+\_\+from\+\_\+linux\+\_\+libnuma\+\_\+ulongs(), hwloc\+\_\+nodeset\+\_\+to\+\_\+linux\+\_\+libnuma\+\_\+bitmask(), and hwloc\+\_\+nodeset\+\_\+to\+\_\+linux\+\_\+libnuma\+\_\+ulongs().

\hypertarget{group__hwlocality__information_ga8c30b0cec55074eb3ed34e4f2a1a9937}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+topology\+\_\+get\+\_\+depth@{hwloc\+\_\+topology\+\_\+get\+\_\+depth}}
\index{hwloc\+\_\+topology\+\_\+get\+\_\+depth@{hwloc\+\_\+topology\+\_\+get\+\_\+depth}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+topology\+\_\+get\+\_\+depth}]{\setlength{\rightskip}{0pt plus 5cm}H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C unsigned hwloc\+\_\+topology\+\_\+get\+\_\+depth (
\begin{DoxyParamCaption}
\item[{{\bf hwloc\+\_\+topology\+\_\+t} \+\_\+\+\_\+hwloc\+\_\+restrict}]{topology}
\end{DoxyParamCaption}
)}}\label{group__hwlocality__information_ga8c30b0cec55074eb3ed34e4f2a1a9937}


Get the depth of the hierarchical tree of objects. 

This is the depth of H\+W\+L\+O\+C\+\_\+\+O\+B\+J\+\_\+\+P\+U objects plus one. \hypertarget{group__hwlocality__information_ga0d109e33fc7990f62f665d336e5e5111}{\index{Get Some Topology Information@{Get Some Topology Information}!hwloc\+\_\+topology\+\_\+is\+\_\+thissystem@{hwloc\+\_\+topology\+\_\+is\+\_\+thissystem}}
\index{hwloc\+\_\+topology\+\_\+is\+\_\+thissystem@{hwloc\+\_\+topology\+\_\+is\+\_\+thissystem}!Get Some Topology Information@{Get Some Topology Information}}
\subsubsection[{hwloc\+\_\+topology\+\_\+is\+\_\+thissystem}]{\setlength{\rightskip}{0pt plus 5cm}H\+W\+L\+O\+C\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int hwloc\+\_\+topology\+\_\+is\+\_\+thissystem (
\begin{DoxyParamCaption}
\item[{{\bf hwloc\+\_\+topology\+\_\+t} \+\_\+\+\_\+hwloc\+\_\+restrict}]{topology}
\end{DoxyParamCaption}
)}}\label{group__hwlocality__information_ga0d109e33fc7990f62f665d336e5e5111}


Does the topology context come from this system? 

\begin{DoxyReturn}{Returns}
1 if this topology context was built using the system running this program. 

0 instead (for instance if using another file-\/system root, a X\+M\+L topology file, or a synthetic topology). 
\end{DoxyReturn}
