Internal type for tracking a single profiling region
| 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 |
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