<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="DOCTEXT"> <TITLE>MPI_Wtime</TITLE> </HEAD> <BODY BGCOLOR="FFFFFF"> <A NAME="MPI_Wtime"><H1>MPI_Wtime</H1></A> Returns an elapsed time on the calling processor <H2>Synopsis</H2> <PRE> double MPI_Wtime( void ) </PRE> <H2>Return value</H2> Time in seconds since an arbitrary time in the past. <P> <H2>Notes</H2> This is intended to be a high-resolution, elapsed (or wall) clock. See <TT>MPI_WTICK</TT> to determine the resolution of <TT>MPI_WTIME</TT>. If the attribute <TT>MPI_WTIME_IS_GLOBAL</TT> is defined and true, then the value is synchronized across all processes in <TT>MPI_COMM_WORLD</TT>. <P> <H2>Notes for Fortran</H2> This is a function, declared as <TT>DOUBLE PRECISION MPI_WTIME()</TT> in Fortran. <P> <H2>See Also</H2> also: MPI_Wtick, MPI_Comm_get_attr, MPI_Attr_get <BR><P><B>Location:</B>wtime.c<P> </BODY></HTML>