Node: CPU_Time Intrinsic, Next: , Previous: Count Intrinsic, Up: Table of Intrinsic Functions

CPU_Time Intrinsic

     CALL CPU_Time(Seconds)

Seconds: REAL; scalar; INTENT(OUT).

Intrinsic groups: f90.


Returns in Seconds the current value of the system time. This implementation of the Fortran 95 intrinsic is just an alias for second See Second Intrinsic (subroutine).

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.