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

Changeset 3154


Ignore:
Timestamp:
2011-11-18T11:02:24+01:00 (12 years ago)
Author:
cetlod
Message:

Add timing for OFFLINE

Location:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OFF_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OFF_SRC/dtadyn.F90

    r3119 r3154  
    3939   USE prtctl          ! print control 
    4040   USE fldread         ! read input fields  
     41   USE timing          ! Timing 
    4142 
    4243   IMPLICIT NONE 
     
    123124      !!---------------------------------------------------------------------- 
    124125       
     126      ! 
     127      IF( nn_timing == 1 )  CALL timing_start( 'dta_dyn') 
     128      ! 
    125129      isecsbc = nsec_year + nsec1jan000  
    126130      ! 
     
    301305      ENDIF 
    302306      ! 
     307      IF( nn_timing == 1 )  CALL timing_stop( 'dta_dyn') 
     308      ! 
    303309   END SUBROUTINE dta_dyn 
    304310 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90

    r2758 r3154  
    110110      ENDIF 
    111111      ! 
     112      IF( nn_timing == 1 )   CALL timing_finalize 
     113      ! 
    112114      CALL nemo_closefile 
    113115      ! 
     
    128130      !! 
    129131      NAMELIST/namctl/ ln_ctl  , nn_print, nn_ictls, nn_ictle,   & 
    130          &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle, nn_bench 
     132         &             nn_isplt, nn_jsplt, nn_jctls, nn_jctle,   & 
     133         &             nn_bench, nn_timing 
    131134      !!---------------------------------------------------------------------- 
    132135      ! 
     
    208211      ENDIF 
    209212      ! 
     213      IF( nn_timing == 1 )  CALL timing_init 
     214      ! 
     215 
    210216      !                                      ! General initialization 
     217      IF( nn_timing == 1 )  CALL timing_start( 'nemo_init') 
     218      ! 
    211219                            CALL     phy_cst    ! Physical constants 
    212220                            CALL     eos_init   ! Equation of state 
     
    215223                            CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
    216224 
     225      IF( ln_nnogather )    CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
    217226 
    218227      IF( ln_ctl        )   CALL prt_ctl_init   ! Print control 
     
    236245 
    237246      IF(lwp) WRITE(numout,cform_aaa)       ! Flag AAAAAAA 
     247      ! 
     248      IF( nn_timing == 1 )  CALL timing_stop( 'nemo_init') 
    238249      ! 
    239250   END SUBROUTINE nemo_init 
Note: See TracChangeset for help on using the changeset viewer.