From 5099c01f5fd40a944159f228e6e3dad80147d0d0 Mon Sep 17 00:00:00 2001 From: rhaas Date: Mon, 18 Aug 2014 05:15:50 +0000 Subject: document CCTK_RunTime git-svn-id: http://svn.cactuscode.org/flesh/trunk@5123 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/ReferenceManual.pdf | Bin 793806 -> 794617 bytes doc/ReferenceManual/CCTKReference.tex | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/doc/ReferenceManual.pdf b/doc/ReferenceManual.pdf index c47c5bc8..8a721691 100644 Binary files a/doc/ReferenceManual.pdf and b/doc/ReferenceManual.pdf differ diff --git a/doc/ReferenceManual/CCTKReference.tex b/doc/ReferenceManual/CCTKReference.tex index b6401f8a..8a5a1f7f 100644 --- a/doc/ReferenceManual/CCTKReference.tex +++ b/doc/ReferenceManual/CCTKReference.tex @@ -743,6 +743,10 @@ from Fortran. [\pageref{CCTK-RegisterReductionOperator}] Register a function as providing a reduction operation +\item[\code{CCTK\_RunTime}] + [\pageref{CCTK-RunTime}] + Return the number of seconds since the run started + \item[\code{CCTK\_SchedulePrintTimes}] [\pageref{CCTK-SchedulePrintTimes}] Output the timing results for a certain schedule item to stdout @@ -11576,6 +11580,21 @@ Reduces a list of local arrays globally \end{SynopsisSection} \end{FunctionDescription} +\begin{FunctionDescription}{CCTK\_RunTime}{} +\label{CCTK-RunTime} +\begin{SynopsisSection} +\begin{Synopsis}{C} +\begin{verbatim}int CCTK_RunTime()\end{verbatim} +\end{Synopsis} +Seconds since startup. +\end{SynopsisSection} +\begin{ResultSection} +\begin{Result}{seconds} +The number of seconds since the run started. +\end{Result} +\end{ResultSection} +\end{FunctionDescription} + %%%%% % SSS -- cgit v1.2.3