source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Pcontrol.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 2.3 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Pcontrol 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Pcontrol\fP \- Controls profiling.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Pcontrol(const int \fIlevel\fP, \&... )
13
14.SH Fortran Syntax
15.nf
16INCLUDE 'mpif.h'
17MPI_PCONTROL(\fILEVEL\fP)
18        INTEGER \fILEVEL\fP, \&...
19
20.SH C++ Syntax
21.nf
22#include <mpi.h>
23void Pcontrol(const int \fIlevel\fP, \...)
24
25.SH INPUT PARAMETER
26.ft R
27.TP 1i
28level
29Profiling level.
30
31.SH DESCRIPTION
32.ft R
33MPI 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. 
34.sp
35Since 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.
36.sp
37However to provide some level of portability of user codes to different
38profiling libraries, we request the following meanings for certain values of level:
39.TP
40  o
41level==0        Profiling is disabled.
42.TP
43  o
44level==1        Profiling is enabled at a normal default level of detail.
45.TP
46  o
47level==2        Profile buffers are flushed. (This may be a no-op in some
48profilers).
49.TP
50  o
51All other values of level have profile library-defined effects and additional arguments. 
52.LP
53.sp
54We 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.
55.sp
56The 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.
57
58.SH NOTES
59.ft R
60This routine provides a common interface for profiling control. The interpretation of level and any other arguments is left to the profiling library.
61.sp
62This function does not return an error value. Consequently, the result of calling it before MPI_Init or after MPI_Finalize is undefined.
63
Note: See TracBrowser for help on using the repository browser.