Returns the actual time in milliseconds.
The following example uses the benchmark_timer::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.
Enums | |
CLOCK_ENUM | |
| enumerator | cputime = 0 |
Value related to the function cpu_time | |
| enumerator | datetime = 1 |
Value related to the function date_and_time | |
| enumerator | systemtime = 2 |
Value related to the function system_clock | |
| subroutine, public clock | ( | real(r8), intent(inout) | r, |
| integer(clock_enum), intent(in), optional | option ) |