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:

Get cumulative wall-clock timings during a computation:

The intervals between timings:

Wolfram Research (1991), SessionTime, Wolfram Language function, https://reference.wolfram.com/language/ref/SessionTime.html.

Text

Wolfram Research (1991), SessionTime, Wolfram Language function, https://reference.wolfram.com/language/ref/SessionTime.html.

CMS

Wolfram Language. 1991. "SessionTime." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SessionTime.html.

APA

Wolfram Language. (1991). SessionTime. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SessionTime.html

BibTeX

@misc{reference.wolfram_2023_sessiontime, author="Wolfram Research", title="{SessionTime}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/SessionTime.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_sessiontime, organization={Wolfram Research}, title={SessionTime}, year={1991}, url={https://reference.wolfram.com/language/ref/SessionTime.html}, note=[Accessed: 19-March-2024 ]}