\doxysection{rate\+\_\+ctr\+\_\+group Struct Reference}
\label{structrate__ctr__group}\index{rate\_ctr\_group@{rate\_ctr\_group}}


One instance of a counter group class.  




{\ttfamily \#include $<$rate\+\_\+ctr.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ llist\+\_\+head} \textbf{ list}
\begin{DoxyCompactList}\small\item\em Linked list of all counter groups in the system. \end{DoxyCompactList}\item 
const struct \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+desc} $\ast$ \textbf{ desc}
\begin{DoxyCompactList}\small\item\em Pointer to the counter group class. \end{DoxyCompactList}\item 
unsigned int \textbf{ idx}
\begin{DoxyCompactList}\small\item\em The index of this ctr\+\_\+group within its class. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ name}
\begin{DoxyCompactList}\small\item\em Optional string-\/based identifier to be used instead of index at report time. \end{DoxyCompactList}\item 
struct \textbf{ rate\+\_\+ctr} \textbf{ ctr} [0]
\begin{DoxyCompactList}\small\item\em Actual counter structures below. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
One instance of a counter group class. 

\doxysubsection{Field Documentation}
\mbox{\label{structrate__ctr__group_a5329ac12ad550415a671f6791becc795}} 
\index{rate\_ctr\_group@{rate\_ctr\_group}!ctr@{ctr}}
\index{ctr@{ctr}!rate\_ctr\_group@{rate\_ctr\_group}}
\doxysubsubsection{ctr}
{\footnotesize\ttfamily struct \textbf{ rate\+\_\+ctr} rate\+\_\+ctr\+\_\+group\+::ctr[0]}



Actual counter structures below. 

Don\textquotesingle{}t access it directly, use APIs below! 

Referenced by \textbf{ rate\+\_\+ctr\+\_\+for\+\_\+each\+\_\+counter()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+by\+\_\+name()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+get\+\_\+ctr()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+intv()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+reset()}, and \textbf{ rate\+\_\+ctr\+\_\+reset()}.

\mbox{\label{structrate__ctr__group_aeef5a6a6e3d928f326f404b0fc3457cd}} 
\index{rate\_ctr\_group@{rate\_ctr\_group}!desc@{desc}}
\index{desc@{desc}!rate\_ctr\_group@{rate\_ctr\_group}}
\doxysubsubsection{desc}
{\footnotesize\ttfamily const struct \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+desc}$\ast$ rate\+\_\+ctr\+\_\+group\+::desc}



Pointer to the counter group class. 



Referenced by \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+log\+\_\+send\+\_\+counter()}, \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send\+\_\+counter()}, \textbf{ rate\+\_\+ctr\+\_\+for\+\_\+each\+\_\+counter()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+by\+\_\+name()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+group\+\_\+by\+\_\+name\+\_\+idx()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+unused\+\_\+name\+\_\+idx()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+alloc()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+intv()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+reset()}, and \textbf{ rate\+\_\+ctr\+\_\+handler()}.

\mbox{\label{structrate__ctr__group_aa942f83cefcb7948f9ee8bda89036c6b}} 
\index{rate\_ctr\_group@{rate\_ctr\_group}!idx@{idx}}
\index{idx@{idx}!rate\_ctr\_group@{rate\_ctr\_group}}
\doxysubsubsection{idx}
{\footnotesize\ttfamily unsigned int rate\+\_\+ctr\+\_\+group\+::idx}



The index of this ctr\+\_\+group within its class. 



Referenced by \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+log\+\_\+send\+\_\+counter()}, \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send\+\_\+counter()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+group\+\_\+by\+\_\+name\+\_\+idx()}, \textbf{ rate\+\_\+ctr\+\_\+get\+\_\+unused\+\_\+name\+\_\+idx()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+alloc()}, \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+upd\+\_\+idx()}, and \textbf{ rate\+\_\+ctr\+\_\+handler()}.

\mbox{\label{structrate__ctr__group_a181adb8c4ad74c5f9a24264d73341cdb}} 
\index{rate\_ctr\_group@{rate\_ctr\_group}!list@{list}}
\index{list@{list}!rate\_ctr\_group@{rate\_ctr\_group}}
\doxysubsubsection{list}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} rate\+\_\+ctr\+\_\+group\+::list}



Linked list of all counter groups in the system. 



Referenced by \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+alloc()}, and \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+free()}.

\mbox{\label{structrate__ctr__group_ae443e7b325714f701adcd40f432ef938}} 
\index{rate\_ctr\_group@{rate\_ctr\_group}!name@{name}}
\index{name@{name}!rate\_ctr\_group@{rate\_ctr\_group}}
\doxysubsubsection{name}
{\footnotesize\ttfamily char$\ast$ rate\+\_\+ctr\+\_\+group\+::name}



Optional string-\/based identifier to be used instead of index at report time. 



Referenced by \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send\+\_\+counter()}, and \textbf{ rate\+\_\+ctr\+\_\+group\+\_\+set\+\_\+name()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/core/\textbf{ rate\+\_\+ctr.\+h}\end{DoxyCompactItemize}
