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/trcdta.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/trcdta.F90

    r8542 r9124  
    2020   USE oce_trc       !  shared variables between ocean and passive tracers 
    2121   USE trc           !  passive tracers common variables 
     22   ! 
    2223   USE iom           !  I/O manager 
    2324   USE lib_mpp       !  MPP library 
     
    6970      NAMELIST/namtrc_dta/ sn_trcdta, cn_dir, rn_trfac  
    7071      !!---------------------------------------------------------------------- 
    71       ! 
    72       IF( nn_timing == 1 )  CALL timing_start('trc_dta_ini') 
    7372      ! 
    7473      IF( lwp ) THEN 
     
    154153      ! 
    155154      DEALLOCATE( slf_i )          ! deallocate local field structure 
    156       IF( nn_timing == 1 )  CALL timing_stop('trc_dta_ini') 
    157155      ! 
    158156   END SUBROUTINE trc_dta_ini 
     
    182180      !!---------------------------------------------------------------------- 
    183181      ! 
    184       IF( nn_timing == 1 )  CALL timing_start('trc_dta') 
     182      IF( ln_timing )   CALL timing_start('trc_dta') 
    185183      ! 
    186184      IF( nb_trcdta > 0 ) THEN 
     
    246244      ENDIF 
    247245      ! 
    248       IF( nn_timing == 1 )  CALL timing_stop('trc_dta') 
     246      IF( ln_timing )  CALL timing_stop('trc_dta') 
    249247      ! 
    250248   END SUBROUTINE trc_dta 
Note: See TracChangeset for help on using the changeset viewer.