Next: EOShift Intrinsic, Previous: DTanH Intrinsic, Up: Table of Intrinsic Functions
CALL DTime(TArray, Result)
TArray: REAL(KIND=1)
; DIMENSION(2); INTENT(OUT).
Result: REAL(KIND=1)
; scalar; INTENT(OUT).
Intrinsic groups: unix
.
Description:
Initially, return the number of seconds of runtime since the start of the process's execution in Result, and the user and system components of this in `TArray(1)' and `TArray(2)' respectively. The value of Result is equal to `TArray(1) + TArray(2)'.
Subsequent invocations of `DTIME()' set values based on accumulations since the previous invocation.
On some systems, the underlying timings are represented using types with sufficiently small limits that overflows (wraparounds) are possible, such as 32-bit types. Therefore, the values returned by this intrinsic might be, or become, negative, or numerically less than previous values, during a single run of the compiled program.
Some non-GNU implementations of Fortran provide this intrinsic as only a function, not as a subroutine.
For information on other intrinsics with the same name: See DTime Intrinsic (function).