Starts the timer by recording the current OMP time value. This value is used to calculate the OMP time later.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer), | intent(inout) | :: | this |
impure subroutine otimer_start(this) use omp_lib class(timer), intent(inout) :: this ! Start the timer this%omp_start = omp_get_wtime() end subroutine otimer_start