\doxysection{Cumulative counter of time as rate counter.}
\label{group__time__cc}\index{Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}}


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


\doxysubsection*{Files}
\begin{DoxyCompactItemize}
\item 
file \textbf{ time\+\_\+cc.\+h}
\begin{DoxyCompactList}\small\item\em Report the cumulative counter of time for which a flag is true as rate counter. \end{DoxyCompactList}\item 
file \textbf{ time\+\_\+cc.\+c}
\end{DoxyCompactItemize}
\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. 

Useful for reporting cumulative time counters as defined in 3GPP TS 52.\+402, for example all\+Available\+SDCCHAllocated, all\+Available\+TCHAllocated, available\+PDCHAllocated\+Time.

For a usage example, see the description of struct \doxyref{osmo\+\_\+time\+\_\+cc}{p.}{structosmo__time__cc}. 

\doxysubsection{Function Documentation}
\mbox{\label{group__time__cc_ga4586caf5730ea675afb0dfd64a1ade32}} 
\index{Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}!osmo\_time\_cc\_cleanup@{osmo\_time\_cc\_cleanup}}
\index{osmo\_time\_cc\_cleanup@{osmo\_time\_cc\_cleanup}!Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}}
\doxysubsubsection{osmo\_time\_cc\_cleanup()}
{\footnotesize\ttfamily void osmo\+\_\+time\+\_\+cc\+\_\+cleanup (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$}]{tc }\end{DoxyParamCaption})}

\mbox{\label{group__time__cc_gad234a5e207b1cef57390a2390ed8fc8e}} 
\index{Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}!osmo\_time\_cc\_init@{osmo\_time\_cc\_init}}
\index{osmo\_time\_cc\_init@{osmo\_time\_cc\_init}!Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}}
\doxysubsubsection{osmo\_time\_cc\_init()}
{\footnotesize\ttfamily void osmo\+\_\+time\+\_\+cc\+\_\+init (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$}]{tc }\end{DoxyParamCaption})}

\mbox{\label{group__time__cc_ga1feb41a008ddeffe6b77a8d2569a14d4}} 
\index{Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}!osmo\_time\_cc\_set\_flag@{osmo\_time\_cc\_set\_flag}}
\index{osmo\_time\_cc\_set\_flag@{osmo\_time\_cc\_set\_flag}!Cumulative counter of time as rate counter.@{Cumulative counter of time as rate counter.}}
\doxysubsubsection{osmo\_time\_cc\_set\_flag()}
{\footnotesize\ttfamily void osmo\+\_\+time\+\_\+cc\+\_\+set\+\_\+flag (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+time\+\_\+cc} $\ast$}]{tc,  }\item[{bool}]{flag }\end{DoxyParamCaption})}

