\hypertarget{TSS_8h}{
\section{TSS.h File Reference}
\label{TSS_8h}\index{TSS.h@{TSS.h}}
}
Time Specification Services, functions to manipulat a timespec structure. 

{\tt \#include $<$time.h$>$}\par
{\tt \#include \char`\"{}IPBS/WCT.h\char`\"{}}\par


Include dependency graph for TSS.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=166pt]{TSS_8h__incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=114pt]{TSS_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
timespec \hyperlink{TSS_8h_a0}{TSS\_\-nsecx\-TOtod\-Add} (long long int delta)
\begin{CompactList}\small\item\em Computes the time specification by adding a number of nanoseconds to the current time. \item\end{CompactList}\item 
timespec \hyperlink{TSS_8h_a1}{TSS\_\-nsecs\-TOtod\-Add} (unsigned int delta)
\begin{CompactList}\small\item\em Computes the time specification by adding a number of nanoseconds to the current time. \item\end{CompactList}\item 
timespec \hyperlink{TSS_8h_a2}{TSS\_\-usecs\-TOtod\-Add} (unsigned int delta)
\begin{CompactList}\small\item\em Computes the time specification by adding a number of microseconds to the current time. \item\end{CompactList}\item 
timespec \hyperlink{TSS_8h_a3}{TSS\_\-secs\-TOtod\-Add} (unsigned int delta)
\begin{CompactList}\small\item\em Computes the time specification by adding a number of seconds to the current time. \item\end{CompactList}\item 
timespec \hyperlink{TSS_8h_a4}{TSS\_\-from\_\-wct} (\hyperlink{WCT_8h_a11}{WCT\_\-time} wct)
\begin{CompactList}\small\item\em Converts a Wall Clock Time to a struct timespec. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Time Specification Services, functions to manipulat a timespec structure. 

\begin{Desc}
\item[Author:]JJRussell - \href{mailto:russell@slac.stanford.edu}{\tt russell@slac.stanford.edu}\end{Desc}


\footnotesize\begin{verbatim}    CVS $Id: TSS.h,v 1.1.1.1 2006/02/10 21:45:37 saxton Exp $
\end{verbatim}
\normalsize


Provides a set of utility functions to manipulate a timespec structure. This structure stores the time as two integers, one representing the number of seconds and the other the number of nanoseconds.

\subsection{Function Documentation}
\hypertarget{TSS_8h_a4}{
\index{TSS.h@{TSS.h}!TSS_from_wct@{TSS\_\-from\_\-wct}}
\index{TSS_from_wct@{TSS\_\-from\_\-wct}!TSS.h@{TSS.h}}
\subsubsection[TSS\_\-from\_\-wct]{\setlength{\rightskip}{0pt plus 5cm}struct timespec TSS\_\-from\_\-wct (\hyperlink{WCT_8h_a11}{WCT\_\-time} {\em wct})}}
\label{TSS_8h_a4}


Converts a Wall Clock Time to a struct timespec. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em wct}]The Wall Clock Time to convert \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The Time\-Out Value\end{Desc}
\hypertarget{TSS_8h_a1}{
\index{TSS.h@{TSS.h}!TSS_nsecsTOtodAdd@{TSS\_\-nsecsTOtodAdd}}
\index{TSS_nsecsTOtodAdd@{TSS\_\-nsecsTOtodAdd}!TSS.h@{TSS.h}}
\subsubsection[TSS\_\-nsecsTOtodAdd]{\setlength{\rightskip}{0pt plus 5cm}struct timespec TSS\_\-nsecs\-TOtod\-Add (unsigned int {\em delta})}}
\label{TSS_8h_a1}


Computes the time specification by adding a number of nanoseconds to the current time. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em delta}]The number of microeconds to add to the current time. \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em The}]new time returned as a timespec structure.\end{description}
\end{Desc}
\hypertarget{TSS_8h_a0}{
\index{TSS.h@{TSS.h}!TSS_nsecxTOtodAdd@{TSS\_\-nsecxTOtodAdd}}
\index{TSS_nsecxTOtodAdd@{TSS\_\-nsecxTOtodAdd}!TSS.h@{TSS.h}}
\subsubsection[TSS\_\-nsecxTOtodAdd]{\setlength{\rightskip}{0pt plus 5cm}struct timespec TSS\_\-nsecx\-TOtod\-Add (long long int {\em delta})}}
\label{TSS_8h_a0}


Computes the time specification by adding a number of nanoseconds to the current time. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em delta}]The number of microeconds to add to the current time. \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em The}]new time returned as a timespec structure.\end{description}
\end{Desc}
\hypertarget{TSS_8h_a3}{
\index{TSS.h@{TSS.h}!TSS_secsTOtodAdd@{TSS\_\-secsTOtodAdd}}
\index{TSS_secsTOtodAdd@{TSS\_\-secsTOtodAdd}!TSS.h@{TSS.h}}
\subsubsection[TSS\_\-secsTOtodAdd]{\setlength{\rightskip}{0pt plus 5cm}struct timespec TSS\_\-secs\-TOtod\-Add (unsigned int {\em delta})}}
\label{TSS_8h_a3}


Computes the time specification by adding a number of seconds to the current time. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em delta}]The number of seconds to add to the current time. \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em The}]new time returned as a timespec structure.\end{description}
\end{Desc}
\hypertarget{TSS_8h_a2}{
\index{TSS.h@{TSS.h}!TSS_usecsTOtodAdd@{TSS\_\-usecsTOtodAdd}}
\index{TSS_usecsTOtodAdd@{TSS\_\-usecsTOtodAdd}!TSS.h@{TSS.h}}
\subsubsection[TSS\_\-usecsTOtodAdd]{\setlength{\rightskip}{0pt plus 5cm}struct timespec TSS\_\-usecs\-TOtod\-Add (unsigned int {\em delta})}}
\label{TSS_8h_a2}


Computes the time specification by adding a number of microseconds to the current time. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em delta}]The number of microeconds to add to the current time. \end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em The}]new time returned as a timespec structure.\end{description}
\end{Desc}
