ctimer_start Subroutine

private subroutine ctimer_start(this)

ctimer_start captures the process CPU time reported by the intrinsic cpu_time. The matching stop routine is ctimer_stop.

Type Bound

timer

Arguments

Type IntentOptional Attributes Name
class(timer), intent(inout) :: this

Timer instance whose CPU-time state is initialized.


Called by

proc~~ctimer_start~~CalledByGraph proc~ctimer_start timer%ctimer_start proc~run_test16 run_test16 proc~run_test16->proc~ctimer_start proc~run_test17 run_test17 proc~run_test17->proc~ctimer_start proc~run_test18 run_test18 proc~run_test18->proc~ctimer_start proc~run_test4 run_test4 proc~run_test4->proc~ctimer_start proc~run_test5 run_test5 proc~run_test5->proc~ctimer_start proc~run_test6 run_test6 proc~run_test6->proc~ctimer_start program~example3 example3 program~example3->proc~ctimer_start program~example4 example4 program~example4->proc~ctimer_start program~check check program~check->proc~run_test16 program~check->proc~run_test17 program~check->proc~run_test18 program~check->proc~run_test4 program~check->proc~run_test5 program~check->proc~run_test6

Source Code

   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