


Up: Contents
Next: Writing wrapper definitions
Previous: Appendices
The profiling wrapper generator (wrappergen) has been designed
to complement the MPI profiling interface. It allows the user to
write any number of `meta' wrappers which can be applied to any
number of MPI functions. Wrappers can be in separate files, and
can nest properly, so that more than one layer of profiling may
exist on indiividual functions.
Wrappergen needs three sources of input:
1. A list of functions for which to generate wrappers.
2. Declarations for the functions that are to be profiled. For speed
and parsing simplicity, a special format has been used. See the file
proto.
3. Wrapper definitions.
The list of functions is simply a file of whitespace-separated function
names. If omitted, any forallfn or fnall macros will expand for
every function in the declaration file.



Up: Contents
Next: Writing wrapper definitions
Previous: Appendices