\hypertarget{OTF__Parse_8h}{\section{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Parse.h File Reference}
\label{OTF__Parse_8h}\index{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Parse.\+h@{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+Parse.\+h}}
}


All record parsing is located here.  


{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+R\+Stream.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+Handler\+Array.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{OTF__Parse_8h_a523b058642680ce76d3ad2be19b9a9c8}{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers)
\begin{DoxyCompactList}\small\item\em Parse one event record from buffer and call the appropriate function -\/ internal use only. \end{DoxyCompactList}\item 
int \hyperlink{OTF__Parse_8h_af15f31d2706056ecf99ee3fd00d39441}{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, uint32\+\_\+t streamid)
\begin{DoxyCompactList}\small\item\em Parse one definition record from buffer and call the appropriate function -\/ internal use only. \end{DoxyCompactList}\item 
int \hyperlink{OTF__Parse_8h_a28413bdfd26833d67633fa982e25e459}{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers)
\begin{DoxyCompactList}\small\item\em Parse one statisitc summary record from buffer and call the appropriate function -\/ internal use only. \end{DoxyCompactList}\item 
int \hyperlink{OTF__Parse_8h_a45c0dceb890c2fca74f195213e706f19}{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers)
\begin{DoxyCompactList}\small\item\em Parse one snapshot record from buffer and call the appropriate function -\/ internal use only. \end{DoxyCompactList}\item 
int \hyperlink{OTF__Parse_8h_a2f7e0fbc4314e16e90cdd1311de5d923}{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, uint32\+\_\+t streamid)
\begin{DoxyCompactList}\small\item\em Parse one marker record from buffer and call the appropriate function -\/ internal use only. \end{DoxyCompactList}\item 
\hypertarget{OTF__Parse_8h_a77b1c9ee3c291cc6e93a4fd002a803e4}{int {\bfseries O\+T\+F\+\_\+\+Reader\+\_\+read\+Unknown\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers)}\label{OTF__Parse_8h_a77b1c9ee3c291cc6e93a4fd002a803e4}

\item 
\hypertarget{OTF__Parse_8h_a7dfc609330b5f2e56e47b9c89e7baad2}{int {\bfseries O\+T\+F\+\_\+\+Reader\+\_\+read\+Unknown\+Def\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, uint32\+\_\+t streamid)}\label{OTF__Parse_8h_a7dfc609330b5f2e56e47b9c89e7baad2}

\item 
\hypertarget{OTF__Parse_8h_a3d46d6f72b7aaa7857a51d2f07f8ca75}{int {\bfseries O\+T\+F\+\_\+\+Reader\+\_\+read\+Unknown\+Marker\+Record} (\hyperlink{structstruct__OTF__RBuffer}{O\+T\+F\+\_\+\+R\+Buffer} $\ast$buffer, \hyperlink{group__ha_ga25c9228aeaddda3577266eab8a986b27}{O\+T\+F\+\_\+\+Handler\+Array} $\ast$handlers, uint32\+\_\+t streamid)}\label{OTF__Parse_8h_a3d46d6f72b7aaa7857a51d2f07f8ca75}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
All record parsing is located here. 



\subsection{Function Documentation}
\hypertarget{OTF__Parse_8h_af15f31d2706056ecf99ee3fd00d39441}{\index{O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}!O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record}}
\index{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record}!O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+Reader\+\_\+parse\+Def\+Record (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+R\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Handler\+Array} $\ast$}]{handlers, }
\item[{uint32\+\_\+t}]{streamid}
\end{DoxyParamCaption}
)}}\label{OTF__Parse_8h_af15f31d2706056ecf99ee3fd00d39441}


Parse one definition record from buffer and call the appropriate function -\/ internal use only. 



References struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::buffer, O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Key\+Value\+List(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Newline(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+skip\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Prefix(), and struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Reader\+\_\+read\+Definitions(), and O\+T\+F\+\_\+\+R\+Stream\+\_\+read\+Definitions().

\hypertarget{OTF__Parse_8h_a523b058642680ce76d3ad2be19b9a9c8}{\index{O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}!O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record}}
\index{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record}!O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+Reader\+\_\+parse\+Event\+Record (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+R\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Handler\+Array} $\ast$}]{handlers}
\end{DoxyParamCaption}
)}}\label{OTF__Parse_8h_a523b058642680ce76d3ad2be19b9a9c8}


Parse one event record from buffer and call the appropriate function -\/ internal use only. 



References struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::buffer, O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Key\+Value\+List(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Newline(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+skip\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+skip\+Spaces(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Keyword(), and struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Reader\+\_\+read\+Events(), O\+T\+F\+\_\+\+Reader\+\_\+read\+Events\+Unsorted(), and O\+T\+F\+\_\+\+R\+Stream\+\_\+read\+Events().

\hypertarget{OTF__Parse_8h_a2f7e0fbc4314e16e90cdd1311de5d923}{\index{O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}!O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record}}
\index{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record}!O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+Reader\+\_\+parse\+Marker\+Record (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+R\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Handler\+Array} $\ast$}]{handlers, }
\item[{uint32\+\_\+t}]{streamid}
\end{DoxyParamCaption}
)}}\label{OTF__Parse_8h_a2f7e0fbc4314e16e90cdd1311de5d923}


Parse one marker record from buffer and call the appropriate function -\/ internal use only. 



References struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::buffer, O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Key\+Value\+List(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Newline(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+skip\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Prefix(), and struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Reader\+\_\+read\+Markers(), and O\+T\+F\+\_\+\+R\+Stream\+\_\+read\+Marker().

\hypertarget{OTF__Parse_8h_a45c0dceb890c2fca74f195213e706f19}{\index{O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}!O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record}}
\index{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record}!O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+Reader\+\_\+parse\+Snapshots\+Record (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+R\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Handler\+Array} $\ast$}]{handlers}
\end{DoxyParamCaption}
)}}\label{OTF__Parse_8h_a45c0dceb890c2fca74f195213e706f19}


Parse one snapshot record from buffer and call the appropriate function -\/ internal use only. 



References struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::buffer, O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Key\+Value\+List(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Newline(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Prefix(), and struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Reader\+\_\+read\+Snapshots(), O\+T\+F\+\_\+\+Reader\+\_\+read\+Snapshots\+Unsorted(), and O\+T\+F\+\_\+\+R\+Stream\+\_\+read\+Snapshots().

\hypertarget{OTF__Parse_8h_a28413bdfd26833d67633fa982e25e459}{\index{O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}!O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record}}
\index{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record@{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record}!O\+T\+F\+\_\+\+Parse.\+h@{O\+T\+F\+\_\+\+Parse.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+Reader\+\_\+parse\+Statistics\+Record (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+R\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Handler\+Array} $\ast$}]{handlers}
\end{DoxyParamCaption}
)}}\label{OTF__Parse_8h_a28413bdfd26833d67633fa982e25e459}


Parse one statisitc summary record from buffer and call the appropriate function -\/ internal use only. 

This is necessary to read a Function\+Group\+Summary record in long format, because the first character of the long and short keyword differs. 

References struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::buffer, O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Key\+Value\+List(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+read\+Newline(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Keyword(), O\+T\+F\+\_\+\+R\+Buffer\+\_\+test\+Prefix(), and struct\+\_\+\+O\+T\+F\+\_\+\+R\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Reader\+\_\+read\+Statistics(), O\+T\+F\+\_\+\+Reader\+\_\+read\+Statistics\+Unsorted(), and O\+T\+F\+\_\+\+R\+Stream\+\_\+read\+Statistics().

