Starts the timer by recording the current CPU time value. This value is used to calculate the CPU time later.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer), | intent(inout) | :: | this |
impure subroutine ctimer_start(this) class(timer), intent(inout) :: this ! Start the timer call cpu_time(this%cpu_start) end subroutine ctimer_start