\hypertarget{classSPL_1_1Timer}{}\section{S\+P\+L\+:\+:Timer Class Reference}
\label{classSPL_1_1Timer}\index{S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}}


A class for making timing measurements.  




{\ttfamily \#include $<$Timer.\+hpp$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classSPL_1_1Timer_a30853fb65b225d817e77aa310e572379}{start} ()
\begin{DoxyCompactList}\small\item\em Start the timer. \end{DoxyCompactList}\item 
void \hyperlink{classSPL_1_1Timer_a4097c903109e41d12ec946e176383c19}{stop} ()
\begin{DoxyCompactList}\small\item\em Stop the timer. \end{DoxyCompactList}\item 
double \hyperlink{classSPL_1_1Timer_ae2c1178dce65065426e7cdd0e1b2f381}{get} () const 
\begin{DoxyCompactList}\small\item\em Get the timer value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class for making timing measurements. 

\subsection{Member Function Documentation}
\hypertarget{classSPL_1_1Timer_ae2c1178dce65065426e7cdd0e1b2f381}{}\index{S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}!get@{get}}
\index{get@{get}!S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}}
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}double S\+P\+L\+::\+Timer\+::get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classSPL_1_1Timer_ae2c1178dce65065426e7cdd0e1b2f381}


Get the timer value. 

Effects\+: Query the elapsed time measured by the timer.

Returns\+: The elapsed time in seconds is returned. The resolution of the timer depends on the particular platform (e.\+g., operating system, hardware, etc.). For most mainstream platforms, the resolution of the timer is typically microseconds. \hypertarget{classSPL_1_1Timer_a30853fb65b225d817e77aa310e572379}{}\index{S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}!start@{start}}
\index{start@{start}!S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}void S\+P\+L\+::\+Timer\+::start (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classSPL_1_1Timer_a30853fb65b225d817e77aa310e572379}


Start the timer. 

Effects\+: Starts the timer. The timer should not already be running. \hypertarget{classSPL_1_1Timer_a4097c903109e41d12ec946e176383c19}{}\index{S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}!stop@{stop}}
\index{stop@{stop}!S\+P\+L\+::\+Timer@{S\+P\+L\+::\+Timer}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}void S\+P\+L\+::\+Timer\+::stop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classSPL_1_1Timer_a4097c903109e41d12ec946e176383c19}


Stop the timer. 

Effects\+: Stops the timer. The timer should already be running. 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{Timer_8hpp}{Timer.\+hpp}\end{DoxyCompactItemize}
