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 – 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

Location:
branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC/daymod.F90

    r8583 r9124  
    223223      !!---------------------------------------------------------------------- 
    224224      ! 
    225       IF( nn_timing == 1 )  CALL timing_start('day') 
     225      IF( ln_timing )   CALL timing_start('day') 
    226226      ! 
    227227      zprec = 0.1 / rday 
     
    277277      IF( lrst_oce         ) CALL day_rst( kt, 'WRITE' )      ! write day restart information 
    278278      ! 
    279       IF( nn_timing == 1 )  CALL timing_stop('day') 
     279      IF( ln_timing )   CALL timing_stop('day') 
    280280      ! 
    281281   END SUBROUTINE day 
  • 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 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90

    r9019 r9124  
    424424      isplt     = nn_isplt 
    425425      jsplt     = nn_jsplt 
    426 !!gm to be remove at the end of the 2017 merge party 
    427       if( ln_timing ) then  ;  nn_timing = 1 
    428       else                  ;  nn_timing = 0 
    429       endif 
    430 !!gm end 
    431426 
    432427      IF(lwp) THEN                  ! control print 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/SAS_SRC/sbcssm.F90

    r9019 r9124  
    2323   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    2424   USE zpshde          ! z-coord. with partial steps: horizontal derivatives 
     25   ! 
    2526   USE in_out_manager  ! I/O manager 
    2627   USE iom             ! I/O library 
     
    7273      !!             - interpolates data if needed 
    7374      !!---------------------------------------------------------------------- 
    74       ! 
    7575      INTEGER, INTENT(in) ::   kt   ! ocean time-step index 
    7676      ! 
     
    7979      REAL(wp) ::   ztintb     ! ratio applied to before records when doing time interpolation 
    8080      !!---------------------------------------------------------------------- 
    81        
    82       ! 
    83       IF( nn_timing == 1 )  CALL timing_start( 'sbc_ssm') 
     81      ! 
     82      IF( ln_timing )   CALL timing_start( 'sbc_ssm') 
    8483      
    8584      IF ( l_sasread ) THEN 
     
    153152      ENDIF 
    154153      ! 
    155       IF( nn_timing == 1 )  CALL timing_stop( 'sbc_ssm') 
     154      IF( ln_timing )   CALL timing_stop( 'sbc_ssm') 
    156155      ! 
    157156   END SUBROUTINE sbc_ssm 
Note: See TracChangeset for help on using the changeset viewer.