\section{Timer Class Reference}
\label{class_timer}\index{Timer@{Timer}}
Timer class for reporting elapsed time and CPU time.  


{\tt \#include $<$Timer.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Timer} (const bool summary=false)\label{class_timer_d771ecce4f2458298442aa666db7b671}

\item 
{\bf Timer} (char $\ast$m, const bool summary=false)\label{class_timer_4c43a43623da5f0eba62a030f74ab970}

\item 
void {\bf reset} (void)\label{class_timer_cb3b904688121e480a45930c94ce2deb}

\begin{CompactList}\small\item\em reset timer to 0. \item\end{CompactList}\item 
double {\bf get\-Elapsed\-Time} (void)\label{class_timer_68855169f22827474b2d6c5af88d5b0c}

\begin{CompactList}\small\item\em return elapsed time in seconds. \item\end{CompactList}\item 
void {\bf report} (void)
\item 
double {\bf get\-CPUTime} (void)\label{class_timer_42a38c4a5650d7687504d268fe6d551f}

\begin{CompactList}\small\item\em return actual cpu time used. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
double {\bf m\-Start}\label{class_timer_59b50eb80abf1071654ee6de5094e070}

\item 
tms {\bf m\-Start\-Usage}\label{class_timer_99ed3aa946a15e9b487a37a5f0e30cd1}

\item 
char $\ast$ {\bf msg}\label{class_timer_6e2baaf3b97dbeef01c0043275f9a0e7}

\item 
bool {\bf summary}\label{class_timer_a80da1282f2c775bbc5f2c92c836968b}

\end{CompactItemize}
\subsection*{Static Private Attributes}
\begin{CompactItemize}
\item 
static long {\bf indent} = 0\label{class_timer_ead60a4fe9e35d6e4f9f3e8ebdf32d02}

\item 
static double {\bf best} = FLT\_\-MAX\label{class_timer_db82206b1d49042d1a710e9c88c21d36}

\begin{CompactList}\small\item\em indentation level for nested timers \item\end{CompactList}\item 
static double {\bf worst} = 0.0\label{class_timer_f5f46a62bde5dd979c0652f06d716a9e}

\item 
static double {\bf total} = 0.0\label{class_timer_fbb44b4487415b134bce9c790a27fe5e}

\item 
static long {\bf count} = 0\label{class_timer_e2942a04780e223b215eb8b663cf5353}

\end{CompactItemize}


\subsection{Detailed Description}
Timer class for reporting elapsed time and CPU time. 



\subsection{Member Function Documentation}
\index{Timer@{Timer}!report@{report}}
\index{report@{report}!Timer@{Timer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Timer::report (void)}\label{class_timer_ba8a3541999ce19967b9a15e02b48772}


report the elapsed time. note: many timers may be active at any given time. 

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf Timer.h}\end{CompactItemize}
