[erlang-questions] wall_clock, runtime - what is the difference?

Matthias Lang matthias@REDACTED
Mon May 19 20:24:16 CEST 2008


Sergey S. writes:

 > As I know there are two methods of getting the elapsed time: using
 > statistics(runtime) and statistics(wall_clock). What is the difference?

Wall clock is the time that elapses on the clock on your wall.

Runtime is the amount of time which elapsed while your process was
actually using the CPU. 

Take a look at

  http://en.wikipedia.org/wiki/Wall_time

Matt



More information about the erlang-questions mailing list