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/PISCES/P4Z/p4zche.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/PISCES/P4Z/p4zche.F90

    r7753 r9124  
    155155      REAL(wp) ::   zst  , zft  , zcks  , zckf  , zaksp1 
    156156      REAL(wp) ::   total2free, free2SWS, total2SWS, SWS2total 
    157  
    158157      !!--------------------------------------------------------------------- 
    159158      ! 
    160       IF( nn_timing == 1 )  CALL timing_start('p4z_che') 
     159      IF( ln_timing )   CALL timing_start('p4z_che') 
    161160      ! 
    162161      ! Computation of chemical constants require practical salinity 
     
    447446      END DO 
    448447      ! 
    449       IF( nn_timing == 1 )  CALL timing_stop('p4z_che') 
     448      IF( ln_timing )  CALL timing_stop('p4z_che') 
    450449      ! 
    451450   END SUBROUTINE p4z_che 
     451 
    452452 
    453453   SUBROUTINE ahini_for_at(p_hini) 
     
    470470      REAL(wp)  ::  za2, za1, za0 
    471471      REAL(wp)  ::  p_dictot, p_bortot, p_alkcb  
    472  
    473       IF( nn_timing == 1 )  CALL timing_start('ahini_for_at') 
     472      !!--------------------------------------------------------------------- 
     473 
     474      IF( ln_timing )  CALL timing_start('ahini_for_at') 
    474475      ! 
    475476      DO jk = 1, jpk 
     
    512513      END DO 
    513514      ! 
    514       IF( nn_timing == 1 )  CALL timing_stop('ahini_for_at') 
     515      IF( ln_timing )  CALL timing_stop('ahini_for_at') 
    515516      ! 
    516517   END SUBROUTINE ahini_for_at 
    517518 
    518519   !=============================================================================== 
     520 
    519521   SUBROUTINE anw_infsup( p_alknw_inf, p_alknw_sup ) 
    520522 
     
    564566   REAL(wp), POINTER, DIMENSION(:,:,:) :: zalknw_inf, zalknw_sup, rmask, zh_min, zh_max, zeqn_absmin 
    565567 
    566    IF( nn_timing == 1 )  CALL timing_start('solve_at_general') 
     568   IF( ln_timing )  CALL timing_start('solve_at_general') 
    567569      !  Allocate temporary workspace 
    568570   CALL wrk_alloc( jpi, jpj, jpk, zalknw_inf, zalknw_sup, rmask ) 
     
    801803 
    802804 
    803    IF( nn_timing == 1 )  CALL timing_stop('solve_at_general') 
    804  
    805  
     805      IF( ln_timing )   CALL timing_stop('solve_at_general') 
     806      ! 
    806807   END SUBROUTINE solve_at_general 
     808 
    807809 
    808810   INTEGER FUNCTION p4z_che_alloc() 
Note: See TracChangeset for help on using the changeset viewer.