MPI_WtimeReturns an elapsed time on the calling processor
#include "mpi.h" double MPI_Wtime()
Return valueTime in seconds since an arbitrary time in the past.
NotesThis 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.
Notes for FortranThis is a function, declared as DOUBLE PRECISION MPI_WTIME() in Fortran.
See Alsoalso: MPI_Wtick, MPI_Attr_get