OS Manuals

MPI_Wtick(3)

MPI_WTICK(3) Open MPI MPI_WTICK(3)

MPI_Wtick — Returns the resolution of MPI_Wtime <#mpi-wtime>.

#include <mpi.h>
double MPI_Wtick()


USE MPI
! or the older form: INCLUDE 'mpif.h'
DOUBLE PRECISION MPI_WTICK()


USE mpi_f08
DOUBLE PRECISION MPI_WTICK()


Time in seconds of resolution of MPI_Wtime <#mpi-wtime>.

MPI_Wtick returns the resolution of MPI_Wtime <#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.

This function does not return an error value. Consequently, the result of calling it before MPI_Init <#mpi-init> or after MPI_Finalize <#mpi-finalize> is undefined.

See also:

•
MPI_Wtime <#mpi-wtime>



2003-2026, The Open MPI Community

September 17, 2026

openmpi-cuda-13.4 5.0.11-r0 · enterprise-packages · ingested 2026-10-02