LMDZ
user_clock.h
Go to the documentation of this file.
1 SUBROUTINE USER_CLOCK(PELAPSED_TIME,PELAPSED_TIME_SINCE,PVECTOR_CP,PTOTAL_CP)
2 
3 !**** *USER_CLOCK* - interface to system dependent timer routines
4 
5 ! Purpose.
6 ! --------
7 ! Returns elapsed and CP from the start of execution.
8 ! Elapsed time is made relative to the first call to USER_CLOCK.
9 
10 !** Interface.
11 ! ----------
12 ! ZTIME=USER_CLOCK(PELAPSED_TIME,PELAPSED_TIME_SINCE,
13 ! PVECTOR_CP,PTOTAL_CP)
14 
15 ! Explicit arguments: (All are optional arguments)
16 ! PELAPSED_TIME=wall clock time (seconds)
17 ! PELAPSED_TIME_SINCE=wall clock time (seconds)
18 ! change from input value of this parameter
19 ! PVECTOR_CP=CP vector time (seconds)
20 ! PTOTAL_CP=total CP time (seconds)
21 
22 ! Author.
23 ! -------
24 ! D.Dent *ECMWF*
25 
26 ! External References:
27 ! -------------------
28 
29 ! TIMEF,CPTIME
30 
31 ! Modifications.
32 ! --------------
33 ! Original : 97-09-25
34 ! ----------------------------------------------------------
35 
36 
38 
39 IMPLICIT NONE
40 
41 REAL(KIND=JPRB),INTENT(OUT) :: PELAPSED_TIME,PVECTOR_CP,PTOTAL_CP
42 REAL(KIND=JPRB),INTENT(INOUT) :: PELAPSED_TIME_SINCE
43 OPTIONAL PELAPSED_TIME,PELAPSED_TIME_SINCE
44 OPTIONAL PVECTOR_CP,PTOTAL_CP
45 REAL(KIND=JPRB) :: ZVECTOR_CP,ZTOTAL_CP,ZWALL
46 REAL(KIND=JPRB),EXTERNAL :: TIMEF
47 
48 
49 END SUBROUTINE USER_CLOCK
SUBROUTINE USER_CLOCK(PELAPSED_TIME, PELAPSED_TIME_SINCE, PVECTOR_CP, PTOTAL_CP)!*****USER_CLOCK *-interface to system dependent timer routines!Purpose.!--------!Returns elapsed and CP from the start of execution.!Elapsed time is made relative to the first call to USER_CLOCK.!**Interface.!----------!ZTIME
SUBROUTINE CPTIME!Modifications ONLY
Definition: user_clock.h:37
ONLY JPIM
Definition: tsmbkind.h:5
!$Header!integer nvarmx parameter(nfmx=10, imx=200, jmx=150, lmx=200, nvarmx=1000) real xd(imx
SUBROUTINE CPTIME!Modifications JPRB IMPLICIT NONE REAL(KIND=JPRB)
ONLY JPRB
Definition: tsmbkind.h:5
INTERFACE SUBROUTINE LW PFLUC &&USE PARKIND1
Definition: lw.intfb.h:3