MPI_Wtime(3)
MPI_Wtime - Returns an elapsed time on the calling processor
Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.19.
NAME MPI_Wtime - Returns an elapsed time on the calling processor SYNOPSIS C: #include <mpi.h> double MPI_Wtime() C++: #include <mpi.h> double Wtime() Fortran: INCLUDE "mpif.h" (or USE MPI) DOUBLE PRECISION TIME TIME=MPI_WTIME() STANDARDS This release implements the MPI 1.2 standard, as documented by the MPI Forum in the spring 1997 release of MPI: A Message Passing Interface Standard. DESCRIPTION The MPI_Wtime routine returns the elapsed wall-clock time in seconds since some time in the past on the calling processor. This routine is intended to be a high-resolution, elapsed (or wall) clock. See MPI_Wtick(3) to determine the resolution of MPI_Wtime. RETURN VALUES Floating-point elapsed time in seconds. Note that calls made at the same time to MPI_Wtime() on different nodes running the same program may yield different values. The time returned is not necessarily the elapsed wall-clock run-time of the calling process. If a program is checkpointed and restarted, values returned by MPI_Wtime(3) following the restart may be smaller than those returned before the checkpoint. SEE ALSO MPI_Wtick(3) MPI_ATTR_GET(3) for the discussion of MPI_WTIME_IS_GLOBAL.