\doxysection{rate\+\_\+ctr Struct Reference}
\label{structrate__ctr}\index{rate\_ctr@{rate\_ctr}}


data we keep for each actual value  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint64\+\_\+t \textbf{ current}
\begin{DoxyCompactList}\small\item\em current value \end{DoxyCompactList}\item 
uint64\+\_\+t \textbf{ previous}
\begin{DoxyCompactList}\small\item\em previous value, used for delta \end{DoxyCompactList}\item 
struct \textbf{ rate\+\_\+ctr\+\_\+per\+\_\+intv} \textbf{ intv} [\textbf{ RATE\+\_\+\+CTR\+\_\+\+INTV\+\_\+\+NUM}]
\begin{DoxyCompactList}\small\item\em per-\/interval data \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
data we keep for each actual value 

\doxysubsection{Field Documentation}
\mbox{\label{structrate__ctr_ab073a714cede168ccea11a5377bd919f}} 
\index{rate\_ctr@{rate\_ctr}!current@{current}}
\index{current@{current}!rate\_ctr@{rate\_ctr}}
\doxysubsubsection{current}
{\footnotesize\ttfamily uint64\+\_\+t rate\+\_\+ctr\+::current}



current value 



Referenced by \textbf{ interval\+\_\+expired()}, \textbf{ rate\+\_\+ctr\+\_\+add()}, \textbf{ rate\+\_\+ctr\+\_\+difference()}, and \textbf{ rate\+\_\+ctr\+\_\+handler()}.

\mbox{\label{structrate__ctr_ab24986d08ab612eed00102f446a7764b}} 
\index{rate\_ctr@{rate\_ctr}!intv@{intv}}
\index{intv@{intv}!rate\_ctr@{rate\_ctr}}
\doxysubsubsection{intv}
{\footnotesize\ttfamily struct \textbf{ rate\+\_\+ctr\+\_\+per\+\_\+intv} rate\+\_\+ctr\+::intv[\textbf{ RATE\+\_\+\+CTR\+\_\+\+INTV\+\_\+\+NUM}]}



per-\/interval data 



Referenced by \textbf{ interval\+\_\+expired()}.

\mbox{\label{structrate__ctr_aec803979013e4caad5871af892dd9648}} 
\index{rate\_ctr@{rate\_ctr}!previous@{previous}}
\index{previous@{previous}!rate\_ctr@{rate\_ctr}}
\doxysubsubsection{previous}
{\footnotesize\ttfamily uint64\+\_\+t rate\+\_\+ctr\+::previous}



previous value, used for delta 



Referenced by \textbf{ rate\+\_\+ctr\+\_\+difference()}.



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