\subsection{timing}
\label{labtiming}
\noindent Name: \textbf{timing}\\
\phantom{aaa}global variable controlling timing measures in \sollya.\\[0.2cm]
\noindent Library names:\\
\verb|   void sollya_lib_set_timing_and_print(sollya_obj_t)|\\
\verb|   void sollya_lib_set_timing(sollya_obj_t)|\\
\verb|   sollya_obj_t sollya_lib_get_timing()|\\[0.2cm]
\noindent Usage: 
\begin{center}
\textbf{timing} = \emph{activation value} : \textsf{on$|$off} $\rightarrow$ \textsf{void}\\
\textbf{timing} = \emph{activation value} ! : \textsf{on$|$off} $\rightarrow$ \textsf{void}\\
\textbf{timing} : \textsf{on$|$off}\\
\end{center}
Parameters: 
\begin{itemize}
\item \emph{activation value} controls if timing should be performed or not
\end{itemize}
\noindent Description: \begin{itemize}

\item \textbf{timing} is a global variable. When its value is \textbf{on}, the time spent in each 
   command is measured and displayed (for \textbf{verbosity} levels higher than 1).
\end{itemize}
\noindent Example 1: 
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> verbosity=1!;
> timing=on;
Timing has been activated.
> p=remez(sin(x),10,[-1;1]);
Information: Remez: computing the quality of approximation spent 4 ms
Information: Remez: computing the quality of approximation spent 4 ms
Information: Remez: computing the quality of approximation spent 4 ms
Information: computing a minimax approximation spent 30 ms
Information: assignment spent 36 ms
Information: full execution of the last parse chunk spent 41 ms
\end{Verbatim}
\end{minipage}\end{center}
See also: \textbf{on} (\ref{labon}), \textbf{off} (\ref{laboff}), \textbf{time} (\ref{labtime})
