Navigation
Synopsis Current time in milliseconds (10-3 sec).
Function
  1. int realTime()
  2. int realTime(void () block)
Usage import util::Benchmark;
Description
  1. Current system time in milliseconds (10-3 sec) since January 1, 1970 GMT.
  2. Real time in milliseconds needed to execute the code block.
Pitfalls This function is a competitor for the now function that provides a datetime value for the current time.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.