Next: TAN, Previous: SYSTEM, Up: Intrinsic Procedures
SYSTEM_CLOCK — Time functionIf there is no clock, COUNT is set to -HUGE(COUNT), and
COUNT_RATE and COUNT_MAX are set to zero
CALL SYSTEM_CLOCK([COUNT, COUNT_RATE, COUNT_MAX])
| COUNT | (Optional) shall be a scalar of type default
INTEGER with INTENT(OUT).
|
| COUNT_RATE | (Optional) shall be a scalar of type default
INTEGER with INTENT(OUT).
|
| COUNT_MAX | (Optional) shall be a scalar of type default
INTEGER with INTENT(OUT).
|
PROGRAM test_system_clock
INTEGER :: count, count_rate, count_max
CALL SYSTEM_CLOCK(count, count_rate, count_max)
WRITE(*,*) count, count_rate, count_max
END PROGRAM