\hypertarget{timing_8h}{
\section{D:/Basile/Visual\-Cpp\-Projects/hydro\-MEX3/hydro\-MEX3/timing/timing.h File Reference}
\label{timing_8h}\index{D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/timing/timing.h@{D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/timing/timing.h}}
}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=375pt]{timing_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{timing_8h_5ba73899fe15846cc99820005d978e24}{tic} ()
\begin{CompactList}\small\item\em Timinig function, similar to MATLAB's tic. \item\end{CompactList}\item 
float \hyperlink{timing_8h_83adf8e26e2c33497523a260bb6e42d8}{toc} ()
\begin{CompactList}\small\item\em Timing function, similar to MATLAB's toc. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\begin{Desc}
\item[Author:]\href{mailto:basile.graf@epfl.ch}{\tt basile.graf@epfl.ch}\end{Desc}
Timing functions for real time simulation 

Definition in file \hyperlink{timing_8h-source}{timing.h}.

\subsection{Function Documentation}
\hypertarget{timing_8h_5ba73899fe15846cc99820005d978e24}{
\index{timing.h@{timing.h}!tic@{tic}}
\index{tic@{tic}!timing.h@{timing.h}}
\subsubsection[tic]{\setlength{\rightskip}{0pt plus 5cm}void tic ()}}
\label{timing_8h_5ba73899fe15846cc99820005d978e24}


Timinig function, similar to MATLAB's tic. 

Initializes the timer (for realtime simulation) 

Definition at line 15 of file timing\_\-PC.cpp.

References offset.

Referenced by mex\-Function().\hypertarget{timing_8h_83adf8e26e2c33497523a260bb6e42d8}{
\index{timing.h@{timing.h}!toc@{toc}}
\index{toc@{toc}!timing.h@{timing.h}}
\subsubsection[toc]{\setlength{\rightskip}{0pt plus 5cm}float toc ()}}
\label{timing_8h_83adf8e26e2c33497523a260bb6e42d8}


Timing function, similar to MATLAB's toc. 

Returns the time elapsed in seconds since the last call of \hyperlink{timing_8h_5ba73899fe15846cc99820005d978e24}{tic()} \par
 Resolution is 1 ms \begin{Desc}
\item[Returns:]time in seconds \end{Desc}


Definition at line 20 of file timing\_\-PC.cpp.

References f(), and offset.

Referenced by mex\-Function().