SessionTime

SessionTime[]
gives the total number of seconds of real time that have elapsed since the beginning of your Wolfram System session.

DetailsDetails

  • SessionTime starts counting time as soon as your operating system considers your Wolfram System process to be executing.
  • SessionTime is accurate only down to a granularity of at least $TimeUnit seconds.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

The number of seconds since this kernel session started:

In[1]:=
Click for copyable input
Out[1]=

Get cumulative wall-clock timings during a computation:

In[1]:=
Click for copyable input
Out[1]=

The intervals between timings:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)