MPI\_WTICK(3) Open MPI MPI\_WTICK(3)

MPI\_Wtick — Returns the resolution of MPI\_Wtime &lt;#mpi-wtime&gt;.

# [SYNTAX](#SYNTAX)

## [C Syntax](#C_Syntax)

```
#include <mpi.h>
double MPI_Wtick()
```

## [Fortran Syntax](#Fortran_Syntax)

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

## [Fortran 2008 Syntax](#Fortran_2008_Syntax)

```
USE mpi_f08
DOUBLE PRECISION MPI_WTICK()
```

# [RETURN VALUE](#RETURN_VALUE)

Time in seconds of resolution of MPI\_Wtime &lt;#mpi-wtime&gt;.

# [DESCRIPTION](#DESCRIPTION)

MPI\_Wtick returns the resolution of MPI\_Wtime &lt;#mpi-wtime&gt; 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](#NOTE)

This function does not return an error value. Consequently, the result of calling it before MPI\_Init &lt;#mpi-init&gt; or after MPI\_Finalize &lt;#mpi-finalize&gt; is undefined.

**See also:**

•

MPI\_Wtime &lt;#mpi-wtime&gt;

# [Copyright](#Copyright)

2003-2026, The Open MPI Community

September 16, 2026

---

Document: MPI_Wtick(3) from openmpi-cuda-12.8 5.0.11-r1 (Chainguard OS)
Source: https://github.com/open-mpi/ompi
