Starts the timer by recording the current MPI time value. This value is used to calculate the MPI time later.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer), | intent(inout) | :: | this |
impure subroutine mtimer_start(this) ! include 'mpif.h' class(timer), intent(inout) :: this interface function mpi_wtime() import rk real(rk) :: mpi_wtime end function mpi_wtime end interface ! Start the timer this%mpi_start = mpi_wtime() end subroutine mtimer_start