New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9124 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcsub.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:26:25+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: ln_timing instead of nn_timing + restricted timing to nemo_init and routine called by step in OPA_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcsub.F90

    r9019 r9124  
    9797      !!------------------------------------------------------------------- 
    9898      ! 
    99       IF( nn_timing == 1 )  CALL timing_start('trc_sub_stp') 
     99      IF( ln_timing )   CALL timing_start('trc_sub_stp') 
    100100      ! 
    101101      IF( kt == nit000 ) THEN 
     
    286286      ENDIF 
    287287      ! 
    288       IF( nn_timing == 1 )  CALL timing_stop('trc_sub_stp') 
     288      IF( ln_timing )   CALL timing_stop('trc_sub_stp') 
    289289      ! 
    290290   END SUBROUTINE trc_sub_stp 
     
    302302      INTEGER ::   ierr 
    303303      !!------------------------------------------------------------------- 
    304       ! 
    305       IF( nn_timing == 1 )  CALL timing_start('trc_sub_ini') 
    306304      ! 
    307305      IF(lwp) WRITE(numout,*) 
     
    348346      ENDIF 
    349347      ! 
    350       IF( nn_timing == 1 )  CALL timing_stop('trc_sub_ini') 
    351       ! 
    352348   END SUBROUTINE trc_sub_ini 
     349 
    353350 
    354351   SUBROUTINE trc_sub_reset( kt ) 
     
    365362      !!------------------------------------------------------------------- 
    366363      ! 
    367       IF( nn_timing == 1 )  CALL timing_start('trc_sub_reset') 
     364      IF( ln_timing )   CALL timing_start('trc_sub_reset') 
    368365      ! 
    369366      !   restore physics variables 
     
    443440      ! 
    444441      ! 
    445       IF( nn_timing == 1 )  CALL timing_stop('trc_sub_reset') 
     442      IF( ln_timing )   CALL timing_stop('trc_sub_reset') 
    446443      ! 
    447444   END SUBROUTINE trc_sub_reset 
     
    473470      !!--------------------------------------------------------------------- 
    474471      ! 
    475       IF( nn_timing == 1 )  CALL timing_start('trc_sub_ssh') 
     472      IF( ln_timing )   CALL timing_start('trc_sub_ssh') 
    476473      ! 
    477474      ! Allocate temporary workspace 
     
    533530      CALL wrk_dealloc( jpi,jpj,   zhdiv ) 
    534531      ! 
    535       IF( nn_timing == 1 )  CALL timing_stop('trc_sub_ssh') 
     532      IF( ln_timing )   CALL timing_stop('trc_sub_ssh') 
    536533      ! 
    537534   END SUBROUTINE trc_sub_ssh 
Note: See TracChangeset for help on using the changeset viewer.