mpid_wtime_acc.tex

来自「刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件」· TEX 代码 · 共 30 行

TEX
30
字号
\startmanpage\mantitle{MPID{\tt \char`\_}Wtime{\tt \char`\_}acc}{tex}{10/7/2002}\manname{MPID{\tt \char`\_}Wtime{\tt \char`\_}acc}--- Accumulate time values \subhead{Synopsis}\startvb\begin{verbatim}void MPID_Wtime_acc( MPID_Time_t t1, MPID_Time_t t2, MPID_Time_t *t3 )\end{verbatim}\endvb\subhead{Input Parameters}\startarg{t1,t2,t3 }{Three time values.  {\tt t3} is updated with the difference between {\tt t2} and {\tt t1}: {\tt *t3 +$=$ (t2 - t1)}.}\par\subhead{Notes}This routine is used to accumulate the time spent with a block of codewithout first converting the time stamps into a particular arithmetictype such as a {\tt double}.  For example, if the {\tt MPID{\tt \char`\_}Wtime} routine accessesa cycle counter, this routine (or macro) can perform the accumulation usinginteger arithmetic.\parTo convert a time value accumulated with this routine, use {\tt MPID{\tt \char`\_}Wtime{\tt \char`\_}diff}with a {\tt t1} of zero.\par\subhead{Module}Timer\endmanpage

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?