MPI_Wtime

Returns an elapsed time on the calling processor

Synopsis

double MPI_Wtime( void )

Return value

Time in seconds since an arbitrary time in the past.

Notes

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.

Notes for Fortran

This is a function, declared as DOUBLE PRECISION MPI_WTIME() in Fortran.

See Also

also: MPI_Wtick, MPI_Comm_get_attr, MPI_Attr_get

Location:/tmp/KtKGPV3F99/mpich-3.1.2/src/mpi/timer/wtime.c