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/sbcssm.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/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.