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 3229 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_mfs.F90 – NEMO

Ignore:
Timestamp:
2011-12-20T12:42:17+01:00 (12 years ago)
Author:
charris
Message:

Added timing calls to most significant routines in LDF, SBC and ZDF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_mfs.F90

    r3186 r3229  
    2121   USE lib_mpp         ! distribued memory computing library 
    2222   USE wrk_nemo        ! work arrays 
     23   USE timing          ! Timing 
    2324   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    2425   USE prtctl          ! Print control 
     
    120121         &                  sn_tair , sn_rhm , sn_prec  
    121122      !!--------------------------------------------------------------------- 
    122  
     123      ! 
     124      IF( nn_timing == 1 )  CALL timing_start('sbc_blk_mfs') 
     125      ! 
    123126      !                                         ! ====================== ! 
    124127      IF( kt == nit000 ) THEN                   !  First call kt=nit000  ! 
     
    263266 
    264267      ENDIF 
    265  
     268      ! 
     269      IF( nn_timing == 1 )  CALL timing_stop('sbc_blk_mfs') 
     270      ! 
    266271   END SUBROUTINE sbc_blk_mfs 
    267272   
     
    324329      REAL(wp), DIMENSION(5) :: p_e = (/-0.16,1.0,1.0,1.0,1.0/) 
    325330      INTEGER :: kku                        !index varing with wind speed 
    326  
     331      ! 
     332      IF( nn_timing == 1 )  CALL timing_start('fluxes_mfs') 
     333      ! 
    327334      CALL wrk_alloc( jpi,jpj, rspeed, sh10now, t10now, cdx, ce, shms ) 
    328335      CALL wrk_alloc( jpi,jpj, rhom, sstk, ch, rel_windu, rel_windv ) 
     
    490497      CALL wrk_dealloc( jpi,jpj, rspeed, sh10now, t10now, cdx, ce, shms ) 
    491498      CALL wrk_dealloc( jpi,jpj, rhom, sstk, ch, rel_windu, rel_windv ) 
    492  
     499      ! 
     500      IF( nn_timing == 1 )  CALL timing_stop('fluxes_mfs') 
     501      ! 
    493502   END SUBROUTINE fluxes_mfs 
    494503 
Note: See TracChangeset for help on using the changeset viewer.