CPU_TIME intrinsic subroutine

Standard: F77 F90 F95 F2003 F2008 F2018 Example program



TIME : scalar Real (any kind), Intent(Out).


TIME is assigned an approximation to the processor (CPU) time used by the program in seconds. If this is not available, TIME is set to a negative value.

Note that the resolution of the CPU_TIME clock is usually much worse than the resolution of the real-time clock provided by SYSTEM_CLOCK.


DATE_AND_TIME intrinsic subroutine, SYSTEM_CLOCK intrinsic subroutine