The scheme given here does not directly support the nesting of
profiling functions, since it provides only a single alternative name
for each MPI function. Consideration was given to an implementation
that
would allow multiple levels of call interception, however we
were unable to construct an implementation of this
that
did not
have the following disadvantages
Note, however, that it is possible to use the scheme above to
implement a multi-level system, since the function called by the user
may call many different profiling functions before calling the
underlying MPI function.
Unfortunately such an implementation may require more cooperation
between the different profiling libraries than is required for the
single level implementation detailed above.
Since one of the objectives of MPI is to permit efficient, low latency
implementations, and it is not the business of a standard to require a
particular implementation language, we decided to accept the scheme
outlined above.
![]()
![]()
![]()
Up: Contents
Next: Deprecated Functions
Previous: Linker Oddities
Return to MPI-2.1 Standard Index
Return to MPI Forum Home Page
MPI-2.0 of July 1, 2008
HTML Generated on July 6, 2008