etime, dtime - return elapsed execution time
function etime (tarray)
function dtime (tarray)
These two routines return elapsed runtime in seconds for the calling
process. Dtime returns the elapsed time since the last call to dtime,
or the start of execution on the first call.
The argument array returns user time in the first element and system
time in the second element. The function value is the sum of user and
The resolution of all timing is 1/HZ sec. where HZ is currently 60.
4th Berkeley Distribution 26 July 1983 ETIME(3F)