Returns the actual time in milliseconds.
The following example uses the clock subroutine to get the actual time in milliseconds.
The system clock that is used can be modified. Three options are available at the moment: CPUTIME, DATETIME, SYSTEMTIME. They corresponds to the underlying functions cpu_time, date_and_time and system_clock, respectively.
Enumerations | |
| enum | { cputime = 0 , datetime = 1 , systemtime = 2 } |
| Clock enum. More... | |
| integer, parameter, public clock_enum = kind(CPUTIME) |
| subroutine, public clock | ( | real(r8), intent(inout) | r, |
| integer(clock_enum), intent(in), optional | option ) |