MPI_Wtime - Returns an elapsed time on the calling processor
Contents
Acknowledgements
The LAM Team would like the thank the MPICH Team for the handy program to generate man pages ("doctext"
from ftp://ftp.mcs.anl.gov/pub/sowing/sowing.tar.gz ), the initial formatting, and some initial text for
most of the MPI-1 man pages.
Location
wtime.c
LAM/MPI 7.1.4 6/24/2006 MPI_Wtime(3)
More Information
For more information, please see the official MPI Forum web site, which contains the text of both the
MPI-1 and MPI-2 standards. These documents contain detailed information about each MPI function (most of
which is not duplicated in these man pages).
http://www.mpi-forum.org/Name
MPI_Wtime - Returns an elapsed time on the calling processor
Notes
This is intended to be a high-resolution, elapsed (or wall) clock. See MPI_Wtick to determine the
resolution of MPI_Wime . If the attribute MPI_WTIME_IS_GLOBAL is defined and true, then the value is
synchronized across all processes in MPI_COMM_WORLD .
Notes For Fortran
This function is declared as DOUBLEPRECISIONMPI_WTIME() in Fortran.
Return Value
Time in seconds since an arbitrary time in the past.
See Also
MPI_Wtick, MPI_Comm_get_attr
Synopsis
#include <mpi.h>
double MPI_Wtime(void)
