ctimer_start captures the process CPU time reported by the intrinsic
cpu_time. The matching stop routine is ctimer_stop.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(timer), | intent(inout) | :: | this |
Timer instance whose CPU-time state is initialized. |
subroutine ctimer_start(this) class(timer), intent(inout) :: this !! Timer instance whose CPU-time state is initialized. call cpu_time(this%cpu_start) this%is_cpu_started = .true. end subroutine ctimer_start