Compaq Fortran for Tru64 UNIX Alpha Systems V5.4

etime, dtime (3f)


Syntax

  real*4 etime, actual, tarry(2)
  external etime
  actual = etime ( tarray )

  real*4 dtime, delta, tarry(2)
  external dtime
  delta = dtime ( tarray )

Description

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

  The argument tarray returns user time in the first element and system time
  in the second element.  The function value is the sum of user and system
  time.

  The resolution of all timing is in the units returned by getrusage(2),
  which currently is seconds and microseconds.

See Also

  time(1), getrusage(2), times(3)