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/SAS_SRC/diawri.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/SAS_SRC/diawri.F90

    r9019 r9124  
    136136      !!---------------------------------------------------------------------- 
    137137      !  
    138       IF( nn_timing == 1 )   CALL timing_start('dia_wri') 
     138      IF( ln_timing )   CALL timing_start('dia_wri') 
    139139      ! 
    140140      ! Output the initial state and forcings 
     
    322322      ENDIF 
    323323      ! 
    324       IF( nn_timing == 1 )   CALL timing_stop('dia_wri') 
     324      IF( ln_timing )   CALL timing_stop('dia_wri') 
    325325      ! 
    326326   END SUBROUTINE dia_wri 
     
    350350      !!---------------------------------------------------------------------- 
    351351      !  
    352       IF( nn_timing == 1 )   CALL timing_start('dia_wri_state') 
     352      IF( ln_timing )   CALL timing_start('dia_wri_state') 
    353353 
    354354      ! 0. Initialisation 
     
    428428      ENDIF 
    429429#endif 
    430         
    431       IF( nn_timing == 1 )   CALL timing_stop('dia_wri_state') 
    432       !  
    433  
     430      ! 
     431      IF( ln_timing )   CALL timing_stop('dia_wri_state') 
     432      ! 
    434433   END SUBROUTINE dia_wri_state 
     434 
    435435   !!====================================================================== 
    436436END MODULE diawri 
Note: See TracChangeset for help on using the changeset viewer.