\hypertarget{classACG_1_1StopWatch}{}\section{A\+CG\+:\+:Stop\+Watch Class Reference}
\label{classACG_1_1StopWatch}\index{A\+C\+G\+::\+Stop\+Watch@{A\+C\+G\+::\+Stop\+Watch}}


{\ttfamily \#include $<$A\+C\+G/\+Utils/\+Stop\+Watch.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_a7663733cd94e7296355029d86e49dd5f}\label{classACG_1_1StopWatch_a7663733cd94e7296355029d86e49dd5f}} 
\hyperlink{classACG_1_1StopWatch_a7663733cd94e7296355029d86e49dd5f}{Stop\+Watch} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_aec00dcb2cad195ddc073a8c65bf393ee}\label{classACG_1_1StopWatch_aec00dcb2cad195ddc073a8c65bf393ee}} 
\hyperlink{classACG_1_1StopWatch_aec00dcb2cad195ddc073a8c65bf393ee}{$\sim$\+Stop\+Watch} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_a4037589f2d64f4c80e5853f5777eb715}\label{classACG_1_1StopWatch_a4037589f2d64f4c80e5853f5777eb715}} 
void \hyperlink{classACG_1_1StopWatch_a4037589f2d64f4c80e5853f5777eb715}{start} ()
\begin{DoxyCompactList}\small\item\em Start time measurement. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_a8e53add18a083480e298a2f615566638}\label{classACG_1_1StopWatch_a8e53add18a083480e298a2f615566638}} 
double \hyperlink{classACG_1_1StopWatch_a8e53add18a083480e298a2f615566638}{restart} ()
\begin{DoxyCompactList}\small\item\em Restart, return time elapsed until now. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_a80ada521aa73c60d2443b7ebc58aec01}\label{classACG_1_1StopWatch_a80ada521aa73c60d2443b7ebc58aec01}} 
double \hyperlink{classACG_1_1StopWatch_a80ada521aa73c60d2443b7ebc58aec01}{stop} ()
\begin{DoxyCompactList}\small\item\em Stop time measurement, return time. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_aaa1d6fa2d56995aea8ad34fc8726d33c}\label{classACG_1_1StopWatch_aaa1d6fa2d56995aea8ad34fc8726d33c}} 
double \hyperlink{classACG_1_1StopWatch_aaa1d6fa2d56995aea8ad34fc8726d33c}{elapsed} () const
\begin{DoxyCompactList}\small\item\em Get the total time in milli-\/seconds (watch has to be stopped). \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_ac781fb20f20cb460af36f7deab4af8b5}\label{classACG_1_1StopWatch_ac781fb20f20cb460af36f7deab4af8b5}} 
timeval {\bfseries current\+\_\+time} () const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_af2b17c2be385e4c658be7aa63430c76d}\label{classACG_1_1StopWatch_af2b17c2be385e4c658be7aa63430c76d}} 
timeval {\bfseries starttime\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1StopWatch_ab954a946a03871be55c1230714031b36}\label{classACG_1_1StopWatch_ab954a946a03871be55c1230714031b36}} 
timeval {\bfseries endtime\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class can be used for measuring time, providing milli-\/second precision by using the gettimeofday() funtion. It is e.\+g. used in the class \hyperlink{classACG_1_1TimedTracing}{A\+C\+G\+::\+Timed\+Tracing}. 

Definition at line 90 of file Stop\+Watch.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Utils/Stop\+Watch.\+hh\end{DoxyCompactItemize}
