Starts the timer by recording the current processor clock value. This value is used to calculate the elapsed time later.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer), | intent(inout) | :: | this |
impure subroutine dtimer_start(this) class(timer), intent(inout) :: this ! Start the timer call date_and_time(values=this%values_start) end subroutine dtimer_start