tracked_region Derived Type

type, private :: tracked_region

Internal type for tracking a single profiling region


Inherits

type~~tracked_region~~InheritsGraph type~tracked_region tracked_region type~timer_type timer_type type~tracked_region->type~timer_type timer

Inherited by

type~~tracked_region~~InheritedByGraph type~tracked_region tracked_region type~profiler_state profiler_state type~profiler_state->type~tracked_region regions

Components

Type Visibility Attributes Name Initial
logical, public :: active = .false.
integer(kind=default_int), public :: call_count = 0
character(len=MAX_NAME_LEN), public :: name = ''
logical, public :: nvtx_only = .false.

If true, only shows in NVTX timeline, not in text report

type(timer_type), public :: timer

PIC timer for this region

real(kind=dp), public :: total_time = 0.0_dp

Source Code

   type :: tracked_region
      !! Internal type for tracking a single profiling region
      character(len=MAX_NAME_LEN) :: name = ''
      type(timer_type) :: timer
         !! PIC timer for this region
      real(dp) :: total_time = 0.0_dp
      integer(default_int) :: call_count = 0
      logical :: active = .false.
      logical :: nvtx_only = .false.
         !! If true, only shows in NVTX timeline, not in text report
   end type tracked_region