\doxysection{pctr\+\_\+t Struct Reference}
\label{structpctr__t}\index{pctr\_t@{pctr\_t}}


Generic event counter for profiling.  




{\ttfamily \#include $<$profile.\+h$>$}

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
char $\ast$ \textbf{ name}
\begin{DoxyCompactList}\small\item\em Counter print name; NULL terminates array of counters Used by pctr\+\_\+print\+\_\+all. \end{DoxyCompactList}\item 
int32 \textbf{ count}
\begin{DoxyCompactList}\small\item\em Counter value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Generic event counter for profiling. 

User is responsible for allocating an array of the desired number. There should be a sentinel with name = NULL. 

Definition at line \textbf{ 100} of file \textbf{ profile.\+h}.



\doxysubsection{Field Documentation}
\label{structpctr__t_adc5e6467eceb66d4f56a20514d06eb55} 
\index{pctr\_t@{pctr\_t}!count@{count}}
\index{count@{count}!pctr\_t@{pctr\_t}}
\doxysubsubsection{count}
{\footnotesize\ttfamily int32 pctr\+\_\+t\+::count}



Counter value. 



Definition at line \textbf{ 104} of file \textbf{ profile.\+h}.



Referenced by \textbf{ pctr\+\_\+increment()}, \textbf{ pctr\+\_\+new()}, \textbf{ pctr\+\_\+print()}, and \textbf{ pctr\+\_\+reset()}.

\label{structpctr__t_a9674298e968c73272d477593c7b41ed5} 
\index{pctr\_t@{pctr\_t}!name@{name}}
\index{name@{name}!pctr\_t@{pctr\_t}}
\doxysubsubsection{name}
{\footnotesize\ttfamily char$\ast$ pctr\+\_\+t\+::name}



Counter print name; NULL terminates array of counters Used by pctr\+\_\+print\+\_\+all. 



Definition at line \textbf{ 101} of file \textbf{ profile.\+h}.



Referenced by \textbf{ pctr\+\_\+free()}, \textbf{ pctr\+\_\+new()}, and \textbf{ pctr\+\_\+print()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sphinxbase/\textbf{ profile.\+h}\end{DoxyCompactItemize}
