[MPICH] wtime() precision

Rob Ross rross at mcs.anl.gov
Mon Dec 12 10:01:52 CST 2005


Hi,

 From Section 7.4. Timers and synchronization of the MPI-1 spec:

   MPI_WTICK()

   double MPI_Wtick(void)
   DOUBLE PRECISION MPI_WTICK()
   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 10^(-3).

Regards,

Rob

Adrian Sacchi wrote:
> Hello,
> 
> Does someone know the precision until which wtime() is reliable?
> 
> Thank you,
> Adrian
> 




More information about the mpich-discuss mailing list