test4 Program

Uses

  • program~~test4~~UsesGraph program~test4 test4 module~fortime fortime program~test4->module~fortime iso_fortran_env iso_fortran_env module~fortime->iso_fortran_env

Calls

program~~test4~~CallsGraph program~test4 test4 proc~ctimer_start timer%ctimer_start program~test4->proc~ctimer_start proc~ctimer_stop timer%ctimer_stop program~test4->proc~ctimer_stop proc~print_time print_time proc~ctimer_stop->proc~print_time colorize colorize proc~print_time->colorize

Variables

Type Attributes Name Initial
type(timer) :: t

Source Code

program test4

   use fortime

   implicit none

   type(timer) :: t


   ! CPU time
   call t%ctimer_start()
      call sleep(1) ! Perform operations here
   call t%ctimer_stop()

end program test4