\doxysection{include/osmocom/core/time\+\_\+cc.h File Reference}
\label{time__cc_8h}\index{include/osmocom/core/time\_cc.h@{include/osmocom/core/time\_cc.h}}


Report the cumulative counter of time for which a flag is true as rate counter.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/timer.\+h$>$}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ osmo\+\_\+time\+\_\+cc\+\_\+cfg}
\begin{DoxyCompactList}\small\item\em Configuration for \doxyref{osmo\+\_\+time\+\_\+cc}{p.}{structosmo__time__cc}. \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+time\+\_\+cc}
\begin{DoxyCompactList}\small\item\em Report the cumulative counter of time for which a flag is true as rate counter. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ osmo\+\_\+time\+\_\+cc\+\_\+init} (struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$tc)
\item 
void \textbf{ osmo\+\_\+time\+\_\+cc\+\_\+set\+\_\+flag} (struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$tc, bool flag)
\item 
void \textbf{ osmo\+\_\+time\+\_\+cc\+\_\+cleanup} (struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$tc)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Report the cumulative counter of time for which a flag is true as rate counter. 

