etime(3f)

Name
etime, dtime - returns elapsed execution time

Syntax
real etime, elapsed, tarray(2)
external etime
elapsed = etime ( tarray )

real dtime, delta, tarray(2)
external dtime
delta = dtime ( tarray )

Description
The etime function returns elapsed CPU time in seconds for the calling process. The dtime function returns the elapsed CPU time since the last call to dtime, or since the start of execution on the first call.

The argument tarray returns user CPU time for the process and any child processes in the first element and system CPU time in the second element. The function value is the sum of the user and system CPU times.

Files
libU77.a

See Also
mclock(3f), second(3f), time(3f), wclock(3f)