SECOND — CPU time function¶
- SECOND()¶
Returns a
REAL(4)
value representing the elapsed CPU time in seconds. This provides the same functionality as the standardCPU_TIME
intrinsic, and is only included for backwards compatibility.- Parameters
TIME – Shall be of type
REAL(4)
.- Returns
In either syntax,
TIME
is set to the process’s current runtime in seconds.
Standard:
GNU extension
Class:
Subroutine, function
Syntax:
CALL SECOND(TIME) TIME = SECOND()
See also:
CPU_TIME