timing_data Derived Type

type, private :: timing_data

Data about each stopwatch - for timing routines


Source Code


Components

TypeVisibility AttributesNameInitial
integer, public :: ncalls

Number of times stopwatch has been called

real(kind=DP), public :: ctime

Total time on stopwatch

real(kind=DP), public :: ptime

Temporary record of time when watch is started

character(len=60), public :: label

What is this stopwatch timing


Source Code

  type timing_data
      !! Data about each stopwatch - for timing routines
     integer :: ncalls           
     !! Number of times stopwatch has been called
     real(kind=DP) :: ctime      
     !! Total time on stopwatch
     real(kind=DP) :: ptime
     !! Temporary record of time when watch is started     
     character(len=60) :: label      
     !! What is this stopwatch timing
  end type timing_data