📄 mpi_pcontrol.3
字号:
.\"Copyright 2006, Sun Microsystems, Inc..\" Copyright (c) 1996 Thinking Machines Corporation.TH MPI_Pcontrol 3OpenMPI "September 2006" "Open MPI 1.2" " ".SH NAME\fBMPI_Pcontrol\fP \- Controls profiling..SH SYNTAX.ft R.SH C Syntax.nf#include <mpi.h>int MPI_Pcontrol(const int \fIlevel\fP, \&... ).SH Fortran Syntax.nfINCLUDE 'mpif.h'MPI_PCONTROL(\fILEVEL\fP) INTEGER \fILEVEL\fP, \&....SH C++ Syntax.nf#include <mpi.h>void Pcontrol(const int \fIlevel\fP, \...).SH INPUT PARAMETER.ft R.TP 1ilevelProfiling level..SH DESCRIPTION.ft RMPI libraries themselves make no use of this routine; they simply return immediately to the user code. However the presence of calls to this routine allows a profiling package to be explicitly called by the user. .spSince MPI has no control of the implementation of the profiling code, we are unable to specify precisely the semantics that will be provided by calls to MPI_Pcontrol. This vagueness extends to the number of arguments to the function, and their datatypes. .spHowever to provide some level of portability of user codes to differentprofiling libraries, we request the following meanings for certain values of level:.TP olevel==0 Profiling is disabled..TP olevel==1 Profiling is enabled at a normal default level of detail..TP olevel==2 Profile buffers are flushed. (This may be a no-op in someprofilers)..TP oAll other values of level have profile library-defined effects and additional arguments. .LP.spWe also request that the default state after MPI_Init has been called is for profiling to be enabled at the normal default level (i.e., as if MPI_Pcontrol had just been called with the argument 1). This allows users to link with a profiling library and obtain profile output without having to modify their source code at all..spThe provision of MPI_Pcontrol as a no-op in the standard MPI library allows users to modify their source code to obtain more detailed profiling information, but still be able to link exactly the same code against the standard MPI library. .SH NOTES.ft RThis routine provides a common interface for profiling control. The interpretation of level and any other arguments is left to the profiling library. .spThis function does not return an error value. Consequently, the result of calling it before MPI_Init or after MPI_Finalize is undefined.' @(#)MPI_Pcontrol.3 1.21 06/03/09
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -