timer_res.tex

来自「CCSM Research Tools: Community Atmospher」· TEX 代码 · 共 15 行

TEX
15
字号
% $Id: Timer_res.tex,v 1.1.6.1 2002/04/24 03:25:57 erik Exp $\section{Restrictions}The underlying library routine used to gather user and system times is{\tt times()}.  Unfortunately, the behavior of this routine is not consistentacross platforms.  On IBM and Compaq, it is cumulative across threads.  OnSGI and PC machines it is thread-specific.  This behavior will be reflectedin the printed timings.  For example, on a 4-PE dedicated node the user timefor a given routine called from within a threaded region may exceed thewallclock number by as much as a factor of 4 on IBM and Compaq machines.Wall clock, on the other hand, does not have this problem.  If you are not on adedicated system, however, wall clock will also measure the time of processesthat are interrupting yours.

⌨️ 快捷键说明

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