\section{lib/common/timing.c File Reference}
\label{timing_8c}\index{lib/common/timing.\-c@{lib/common/timing.\-c}}
{\ttfamily \#include $<$unistd.\-h$>$}\\*
{\ttfamily \#include $<$sys/types.\-h$>$}\\*
{\ttfamily \#include $<$sys/times.\-h$>$}\\*
{\ttfamily \#include $<$sys/param.\-h$>$}\\*
Include dependency graph for timing.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{timing_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf H\-Z}~60
\item 
\#define {\bf G\-E\-T\-\_\-\-T\-I\-M\-E}(S)~times(\&(S))
\item 
\#define {\bf D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S}(S, T)~((S.\-tms\-\_\-utime + S.\-tms\-\_\-stime -\/ T.\-tms\-\_\-utime -\/ T.\-tms\-\_\-stime)/(double){\bf H\-Z})
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct tms {\bf mytime\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf start\-\_\-timer} (void)
\item 
double {\bf elapsed\-\_\-sec} (void)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{timing.\-c@{timing.\-c}!D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S@{D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S}}
\index{D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S@{D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S}!timing.c@{timing.\-c}}
\subsubsection[{D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S(
\begin{DoxyParamCaption}
\item[{}]{S, }
\item[{}]{T}
\end{DoxyParamCaption}
)~((S.\-tms\-\_\-utime + S.\-tms\-\_\-stime -\/ T.\-tms\-\_\-utime -\/ T.\-tms\-\_\-stime)/(double){\bf H\-Z})}\label{timing_8c_a4202e142fcb515e83e1f7a632e7946cd}


Definition at line 28 of file timing.\-c.



Referenced by elapsed\-\_\-sec().

\index{timing.\-c@{timing.\-c}!G\-E\-T\-\_\-\-T\-I\-M\-E@{G\-E\-T\-\_\-\-T\-I\-M\-E}}
\index{G\-E\-T\-\_\-\-T\-I\-M\-E@{G\-E\-T\-\_\-\-T\-I\-M\-E}!timing.c@{timing.\-c}}
\subsubsection[{G\-E\-T\-\_\-\-T\-I\-M\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-E\-T\-\_\-\-T\-I\-M\-E(
\begin{DoxyParamCaption}
\item[{}]{S}
\end{DoxyParamCaption}
)~times(\&(S))}\label{timing_8c_ae8bfb9f5955d1cc685b8ba13f304923e}


Definition at line 27 of file timing.\-c.



Referenced by elapsed\-\_\-sec(), and start\-\_\-timer().

\index{timing.\-c@{timing.\-c}!H\-Z@{H\-Z}}
\index{H\-Z@{H\-Z}!timing.c@{timing.\-c}}
\subsubsection[{H\-Z}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-Z~60}\label{timing_8c_a8489802eaedf42fdb5f2ce1708eaffa2}


Definition at line 24 of file timing.\-c.



\subsection{Typedef Documentation}
\index{timing.\-c@{timing.\-c}!mytime\-\_\-t@{mytime\-\_\-t}}
\index{mytime\-\_\-t@{mytime\-\_\-t}!timing.c@{timing.\-c}}
\subsubsection[{mytime\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct tms {\bf mytime\-\_\-t}}\label{timing_8c_a3df740da7dc5a7f018b2748f1d952e02}


Definition at line 26 of file timing.\-c.



\subsection{Function Documentation}
\index{timing.\-c@{timing.\-c}!elapsed\-\_\-sec@{elapsed\-\_\-sec}}
\index{elapsed\-\_\-sec@{elapsed\-\_\-sec}!timing.c@{timing.\-c}}
\subsubsection[{elapsed\-\_\-sec}]{\setlength{\rightskip}{0pt plus 5cm}double elapsed\-\_\-sec (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{timing_8c_a532ee4ec14b00a4f229759fd7c142608}


Definition at line 50 of file timing.\-c.



References D\-I\-F\-F\-\_\-\-I\-N\-\_\-\-S\-E\-C\-S, and G\-E\-T\-\_\-\-T\-I\-M\-E.



Referenced by diffeq\-\_\-model(), init\-\_\-xdot(), rank2(), routesplinesterm(), shortest\-\_\-path(), solve\-\_\-model(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{timing.\-c@{timing.\-c}!start\-\_\-timer@{start\-\_\-timer}}
\index{start\-\_\-timer@{start\-\_\-timer}!timing.c@{timing.\-c}}
\subsubsection[{start\-\_\-timer}]{\setlength{\rightskip}{0pt plus 5cm}void start\-\_\-timer (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{timing_8c_aa9854f34aab8315190c2d5945e54b058}


Definition at line 45 of file timing.\-c.



References G\-E\-T\-\_\-\-T\-I\-M\-E.



Referenced by diffeq\-\_\-model(), gv\-Render\-Jobs(), init\-\_\-xdot(), rank2(), routesplinesinit(), shortest\-\_\-path(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

