\hypertarget{a08284}{}\section{A\+CG\+:\+:Stop\+Watch Class Reference}
\label{a08284}\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{a08284_a7663733cd94e7296355029d86e49dd5f}\label{a08284_a7663733cd94e7296355029d86e49dd5f}} 
\hyperlink{a08284_a7663733cd94e7296355029d86e49dd5f}{Stop\+Watch} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08284_aec00dcb2cad195ddc073a8c65bf393ee}\label{a08284_aec00dcb2cad195ddc073a8c65bf393ee}} 
\hyperlink{a08284_aec00dcb2cad195ddc073a8c65bf393ee}{$\sim$\+Stop\+Watch} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08284_a4037589f2d64f4c80e5853f5777eb715}\label{a08284_a4037589f2d64f4c80e5853f5777eb715}} 
void \hyperlink{a08284_a4037589f2d64f4c80e5853f5777eb715}{start} ()
\begin{DoxyCompactList}\small\item\em Start time measurement. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08284_a8e53add18a083480e298a2f615566638}\label{a08284_a8e53add18a083480e298a2f615566638}} 
double \hyperlink{a08284_a8e53add18a083480e298a2f615566638}{restart} ()
\begin{DoxyCompactList}\small\item\em Restart, return time elapsed until now. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08284_a80ada521aa73c60d2443b7ebc58aec01}\label{a08284_a80ada521aa73c60d2443b7ebc58aec01}} 
double \hyperlink{a08284_a80ada521aa73c60d2443b7ebc58aec01}{stop} ()
\begin{DoxyCompactList}\small\item\em Stop time measurement, return time. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08284_aaa1d6fa2d56995aea8ad34fc8726d33c}\label{a08284_aaa1d6fa2d56995aea8ad34fc8726d33c}} 
double \hyperlink{a08284_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{a08284_ac781fb20f20cb460af36f7deab4af8b5}\label{a08284_ac781fb20f20cb460af36f7deab4af8b5}} 
timeval {\bfseries current\+\_\+time} () const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08284_af2b17c2be385e4c658be7aa63430c76d}\label{a08284_af2b17c2be385e4c658be7aa63430c76d}} 
timeval {\bfseries starttime\+\_\+}
\item 
\mbox{\Hypertarget{a08284_ab954a946a03871be55c1230714031b36}\label{a08284_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{a08292}{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}
