MPI_WtickReturns the resolution of MPI_Wtime
double MPI_Wtick( void );
Return valueTime in seconds of resolution of MPI_Wtime.
MPI_WTICK returns the resolution of MPI_WTIME in seconds. That is, it returns, as a double precision value, the number of seconds between successive clock ticks. For example, if the clock is implemented by the hardware as a counter that is incremented every millisecond, the value returned by MPI_WTICK should be
Notes for FortranThis is a function, declared as DOUBLE PRECISION MPI_WTICK() in Fortran.
See Alsoalso: MPI_Wtime, MPI_Comm_get_attr, MPI_Attr_get
The following sample code illustrates MPI_Wtick.#include "mpi.h"
int main( int argc, char *argv )
MPI_Init( 0, 0 );
tick = MPI_Wtick();
printf("A single MPI tick is %0.9f seconds\n", tick);