SURFEX v8.1
General documentation of Surfex
user_clock.h
Go to the documentation of this file.
1 INTERFACE
2 SUBROUTINE USER_CLOCK(PELAPSED_TIME,PELAPSED_TIME_SINCE,PVECTOR_CP,PTOTAL_CP)
3 
4 !**** *USER_CLOCK* - interface to system dependent timer routines
5 
6 ! Purpose.
7 ! --------
8 ! Returns elapsed and CP from the start of execution.
9 ! Elapsed time is made relative to the first call to USER_CLOCK.
10 
11 !** Interface.
12 ! ----------
13 ! ZTIME=USER_CLOCK(PELAPSED_TIME,PELAPSED_TIME_SINCE,
14 ! PVECTOR_CP,PTOTAL_CP)
15 
16 ! Explicit arguments: (All are optional arguments)
17 ! PELAPSED_TIME=wall clock time (seconds)
18 ! PELAPSED_TIME_SINCE=wall clock time (seconds)
19 ! change from input value of this parameter
20 ! PVECTOR_CP=CP vector time (seconds)
21 ! PTOTAL_CP=total CP time (seconds)
22 
23 ! Author.
24 ! -------
25 ! D.Dent *ECMWF*
26 
27 ! External References:
28 ! -------------------
29 
30 ! TIMEF,CPTIME
31 
32 ! Modifications.
33 ! --------------
34 ! Original : 97-09-25
35 ! F. Vana 05-Mar-2015 Support for single precision
36 ! ----------------------------------------------------------
37 
38 
39 USE PARKIND1 ,ONLY : JPRD, JPIM
40 
41 IMPLICIT NONE
42 
43 REAL(KIND=JPRD),INTENT(OUT) :: PELAPSED_TIME,PVECTOR_CP,PTOTAL_CP
44 REAL(KIND=JPRD),INTENT(INOUT) :: PELAPSED_TIME_SINCE
45 OPTIONAL PELAPSED_TIME,PELAPSED_TIME_SINCE
46 OPTIONAL PVECTOR_CP,PTOTAL_CP
47 REAL(KIND=JPRD) :: ZVECTOR_CP,ZTOTAL_CP,ZWALL
48 REAL(KIND=JPRD),EXTERNAL :: TIMEF
49 
50 
51 END SUBROUTINE USER_CLOCK
52 END INTERFACE
INTERFACE 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
INTERFACE SUBROUTINE CPTIME ! Modifications ONLY
Definition: user_clock.h:39
integer(kind=jpim) function clock()
Definition: clock.F:2
INTERFACE SUBROUTINE SUCST_IFSAUX USE PARKIND1
Definition: sucst_ifsaux.h:4
INTERFACE SUBROUTINE CPTIME ! Modifications JPIM IMPLICIT NONE REAL(KIND=JPRD)