MPI_Wtime function
Returns an elapsed time on the calling processor.
Syntax
double MPIAPI MPI_Wtime(void);
Parameters
This function has no parameters.
Return value
Time in seconds since an arbitrary time in the past.
Fortran
DOUBLE PRECISION MPI_WTIME()
Remarks
This is intended to be a high-resolution, elapsed (or wall) clock. See MPI_Wtick to determine the resolution of MPI_Wtime. If the attribute MPI_WTIME_IS_GLOBAL is defined and true, then the value is synchronized across all processes in MPI_COMM_WORLD.
This is a function, declared as DOUBLE PRECISION MPI_WTIME() in Fortran.
Requirements
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |