|
|
|
See the Unix manual page for gprof(1) for more information about the profiles.Windows:
Full support for gprof is only available for certain platforms (currently: Intel x86/Linux and Alpha/Digital Unix). On other platforms, the -p option will result in a less precise profile (no call graph information, only a time profile).
The -p option does not work under Windows.
ocamlopt -pack -o p.cmx a.cmx b.cmx c.cmxgenerates compiled files p.cmx, p.o and p.cmi describing a compilation unit having three sub-modules A, B and C, corresponding to the contents of the object files a.cmx, b.cmx and c.cmx. These contents can be referenced as P.A, P.B and P.C in the remainder of the program.
The -pack option is available only under platforms that provide the GNU binutils tools nm and objcopy.
|
|