ETIME(3F) — FORTRAN LIBRARY ROUTINES
NAME
etime, dtime − return elapsed execution time
SYNOPSIS
real function etime (time)
real time(2) real function dtime (time)
real time(2)
DESCRIPTION
These two routines return elapsed runtime in seconds for the calling process. On the first call, dtime returns the elapsed time since the start of execution.
On the second and subsequent calls, dtime returns the elapsed time since the last call to dtime. etime returns the elapsed time since the start of execution.
The returned argument time contains user time in the first element and system time in the second element. Elapsed time, the returned value, is the sum of user and system time.
The resolution is determined by the system clock frequency.
If either dtime or etime fail, it returns the -1.0 error value.
FILES
libF77.a
SEE ALSO
Sun Release 4.1 — Last change: 12 June 1991