C Syntax
Contents
Copyright
2003-2025, The Open MPI Community
Jun 07, 2025 MPI_WTICK(3)
Description
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.
Note
This function does not return an error value. Consequently, the result of calling it before MPI_Init or
after MPI_Finalize is undefined.
SEEALSO:
• MPI_WtimeReturn Value
Time in seconds of resolution of MPI_Wtime.
Syntax
CSyntax
#include <mpi.h>
double MPI_Wtick()
FortranSyntax
USE MPI
! or the older form: INCLUDE 'mpif.h'
DOUBLE PRECISION MPI_WTICK()
Fortran2008Syntax
USE mpi_f08
DOUBLE PRECISION MPI_WTICK()
