Pause
Usage
• Pause[n]至少暂停 n 秒。
Notes
• Pause 仅在向下到至少$TimeUnit秒的间隔时是准确的。 • 在执行Pause的过程中,过去的时间在SessionTime中统计,而不在TimeUsed或Timing中统计。 • 在多任务操作系统中,当执行 Pause[n]时,有一个明显的超过n秒的延迟。 • 参见 Mathematica 全书 : 节 2.13.3.
Further Examples
This gives various time functions, pauses for about 5 seconds, then reevaluates the time functions. TimeUsed[] is not affected by the pause.
In[1]:=
|
Out[1]=
|
|