TimeUsed
Usage
• TimeUsed[ ]给出用在当前Mathematica任务中使用的CPU时间的总秒数。
Notes
• TimeUsed 仅记录由Mathematica内核使用的实际CPU时间。它并不包括由内核调用的外部进程使用的时间。它也不包括由Pause产生的暂停期间的时间。 • 仅在向下达到至少$TimeUnit秒的间隔时,TimeUsed是准确的。
Further Examples
If you perform a lengthy computation the total amount of CPU time increases.
In[1]:=
|
Out[1]=
|
|