source: LMDZ6/branches/DYNAMICO-conv/libf/filtrez/timer_filtre.F90 @ 3940

Last change on this file since 3940 was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 585 bytes
Line 
1MODULE timer_filtre
2IMPLICIT NONE
3  PRIVATE
4  REAL :: time
5  REAL :: Last_time
6  PUBLIC :: Init_timer, start_timer, stop_timer, Print_filtre_timer
7CONTAINS
8
9 SUBROUTINE Init_timer
10   time=0
11   Last_time=0
12 END SUBROUTINE Init_timer
13 
14 SUBROUTINE Start_timer
15 
16   CALL cpu_time(last_time)
17
18 END SUBROUTINE start_timer
19 
20 
21 SUBROUTINE stop_timer
22   REAL :: T
23   
24   CALL cpu_time(t)
25   Time=Time+t-last_time
26 
27  END SUBROUTINE stop_timer
28 
29  SUBROUTINE Print_filtre_timer
30  PRINT *,"Temps CPU passe dans le filtre :",Time
31  END SUBROUTINE  Print_filtre_timer
32
33END MODULE timer_filtre
Note: See TracBrowser for help on using the repository browser.