TimeUsed [ ]
gives the total number of seconds of CPU time used so far in the current Wolfram System session.
records only CPU time actually used by the Wolfram Language kernel. It does not include time used by external processes called by the kernel. It also does not include time during pauses produced by TimeUsed . Pause
is accurate only down to a granularity of at least TimeUsed seconds. $TimeUnit Examples open all close all
CPU time used by a Wolfram Language kernel:
Get time between function evaluations:
Almost all of the time is spent in the last few evaluations because the precision is adaptive:
Get time used by function evaluations and the rest of a computation:
The total computation time:
Get the evaluation times:
Evaluations tended to be faster near the root:
Cite this as: Wolfram Research (1991), TimeUsed, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeUsed.html. Text
Wolfram Research (1991), TimeUsed, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeUsed.html.
BibTeX BibLaTeX CMS
Wolfram Language. 1991. "TimeUsed." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeUsed.html.
Wolfram Language. (1991). TimeUsed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeUsed.html