1MPI_Wtime(3) LAM/MPI MPI_Wtime(3)
2
3
4
6 MPI_Wtime - Returns an elapsed time on the calling processor
7
9 #include <mpi.h>
10 double MPI_Wtime(void)
11
13 Time in seconds since an arbitrary time in the past.
14
15
17 This is intended to be a high-resolution, elapsed (or wall) clock. See
18 MPI_Wtick to determine the resolution of MPI_Wime . If the attribute
19 MPI_WTIME_IS_GLOBAL is defined and true, then the value is synchronized
20 across all processes in MPI_COMM_WORLD .
21
22
23
25 This function is declared as DOUBLE PRECISION MPI_WTIME() in Fortran.
26
27
29 MPI_Wtick, MPI_Comm_get_attr
30
31
33 For more information, please see the official MPI Forum web site, which
34 contains the text of both the MPI-1 and MPI-2 standards. These docu‐
35 ments contain detailed information about each MPI function (most of
36 which is not duplicated in these man pages).
37
38 http://www.mpi-forum.org/
39
40
41
43 The LAM Team would like the thank the MPICH Team for the handy program
44 to generate man pages ("doctext" from ftp://ftp.mcs.anl.gov/pub/sow‐
45 ing/sowing.tar.gz ), the initial formatting, and some initial text for
46 most of the MPI-1 man pages.
47
49 wtime.c
50
51
52
53LAM/MPI 7.1.2 2/23/2006 MPI_Wtime(3)