16.2.7. Multiple Levels of Interception



Up:  Profiling Interface
Next:  The  MPI Tool Information Interface
Previous:  Fortran Support Methods
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  
 
 
- assuming a particular implementation language, and  
 
 - imposing a run time cost even when no profiling was taking place.  
 
 
 
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.  
 
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.  
This capability has been demonstrated in the PNMPI tool  
infrastructure [59].  
 
 
  



Up:  Profiling Interface
Next:  The  MPI Tool Information Interface
Previous:  Fortran Support Methods
Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page
(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023