Skip to content

Commit

Permalink
Turn on profiling in StateReconcile for performance work.
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Sep 23, 2024
1 parent 6959a59 commit 95349b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Superstructure/StateReconcile/src/ESMF_StateReconcile.F90
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ subroutine ESMF_StateReconcile(state, vm, rc)

type(ESMF_InfoDescribe) :: idesc

logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

! check input variables
ESMF_INIT_CHECK_DEEP(ESMF_StateGetInit,state,rc)
Expand Down Expand Up @@ -321,7 +321,7 @@ subroutine ESMF_StateReconcile_driver (state, vm, attreconflag, rc)
logical, parameter :: debug = .false.
logical, parameter :: meminfo = .false.
logical, parameter :: trace = .false.
logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

character(160) :: prefixStr
type(ESMF_VMId), allocatable, target :: vmIdMap(:)
Expand Down Expand Up @@ -1587,7 +1587,7 @@ subroutine ESMF_ReconcileExchgAttributes (state, vm, rc)
type(ESMF_Info) :: base_info, base_temp_info

logical, parameter :: debug = .false.
logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

rc = ESMF_RC_NOT_IMPL

Expand Down Expand Up @@ -2139,7 +2139,7 @@ subroutine ESMF_ReconcileExchgItems (vm, id_info, recv_items, recv_buffer, rc)

logical, parameter :: debug = .false.
logical, parameter :: meminfo = .false.
logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

character(len=ESMF_MAXSTR) :: logmsg

Expand Down Expand Up @@ -2383,7 +2383,7 @@ subroutine ESMF_ReconcileExchgNeeds (vm, id_info, recv_needs, rc)
character(ESMF_MAXSTR) :: msgstring

logical, parameter :: debug = .false.
logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

localrc = ESMF_RC_NOT_IMPL

Expand Down Expand Up @@ -2723,7 +2723,7 @@ subroutine ESMF_ReconcileInitialize (state, vm, &
integer :: nitems_local(1)
integer :: mypet, npets

logical, parameter :: profile = .false.
logical, parameter :: profile = .true.

localrc = ESMF_RC_NOT_IMPL

Expand Down

0 comments on commit 95349b6

Please sign in to comment.