SessionTime

SessionTime[]

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

Details

  • 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.

Examples

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]=

See Also

TimeUsed  AbsoluteTime  DateList  DateString  Clock  AbsoluteTiming  Timing

Tutorials

Introduced in 1991
(2.0)