1
1
openmpi/ompi/mpi/man/man3/MPI_Wtick.3
Jeff Squyres 33b3d802a6 Oops -- meant to say 10^-6, not 10^-3.
This commit was SVN r16776.
2007-11-27 22:36:52 +00:00

49 строки
1.2 KiB
Groff

.\"Copyright 2006, Sun Microsystems, Inc.
.\" Copyright (c) 1996 Thinking Machines Corporation
.TH MPI_Wtick 3OpenMPI "September 2006" "Open MPI 1.2" " "
.SH NAME
\fBMPI_Wtick\fP \- Returns the resolution of MPI_Wtime.
.SH SYNTAX
.ft R
.SH C Syntax
.nf
#include <mpi.h>
double MPI_Wtick()
.SH Fortran Syntax
.nf
INCLUDE 'mpif.h'
DOUBLE PRECISION MPI_WTICK()
.SH C++ Syntax
.nf
#include <mpi.h>
double MPI::Wtick()
.SH RETURN VALUE
.ft R
Time in seconds of resolution of MPI_Wtime.
.SH DESCRIPTION
.ft R
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.
.PP
Note that on POSIX platforms, Open MPI should always return 10^-6 for
MPI_Wtick. The returned value may be different on Windows platforms.
.PP
.SH NOTE
This function does not return an error value. Consequently, the result
of calling it before MPI_Init or after MPI_Finalize is undefined.
.SH SEE ALSO
.ft R
.sp
MPI_Wtime
' @(#)MPI_Wtick.3 1.21 06/03/09