The TELEMAC-MASCARET system
trunk
sources
utils
parallel
p_time.F
Go to the documentation of this file.
1
! **********************
2
REAL*8
FUNCTION
p_time
3
! **********************
4
!
5
&()
6
!
7
!***********************************************************************
8
! PARALLEL V6P1 21/08/2010
9
!***********************************************************************
10
!
11
!brief TIME OF THE PROCESSOR.
12
!
13
!history RAINER JOHANNI (SGI MUNICH)
14
!+ **/10/1999
15
!+
16
!+ ADAPTED FOR MPI
17
!
18
!history J.A. JANKOWSKI (BAW KARLSRUHE)
19
!+ 28/12/1999
20
!+
21
!+ RELEASE 5.0 MODIFIED
22
!
23
!history J-M HERVOUET (LNH)
24
!+ 23/06/2008
25
!+ V5P9
26
!+
27
!
28
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
29
!+ 13/07/2010
30
!+ V6P0
31
!+ Translation of French comments within the FORTRAN sources into
32
!+ English comments
33
!
34
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
35
!+ 21/08/2010
36
!+ V6P0
37
!+ Creation of DOXYGEN tags for automated documentation and
38
!+ cross-referencing of the FORTRAN sources
39
!
40
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
!
43
USE
declarations_parallel
44
USE
declarations_special
45
IMPLICIT NONE
46
!
47
!-----------------------------------------------------------------------
48
!
49
p_time
=0.d0
50
#if defined HAVE_MPI
51
p_time
=mpi_wtime()
52
#else
53
WRITE
(
lu
,*)
'CALL OF P_TIME IN ITS VOID VERSION'
54
#endif
55
!
56
!-----------------------------------------------------------------------
57
!
58
RETURN
59
END
declarations_special
Definition:
declarations_special.F:3
declarations_special::lu
integer lu
Definition:
declarations_special.F:45
declarations_parallel
Definition:
declarations_parallel.F:3
p_time
real *8 function p_time()
Definition:
p_time.F:7