|
|
prof correlates the data file with the
profiled program
to produce its report.
By default, prof expects the profiled program
to be called a.out
and the data file mon.out.
If the default names are used, and both the
profiled program and the data file are
in your current directory, you invoke prof without arguments:
$ prof
To invoke prof for
a program with a name other than a.out,
you simply specify its name on the command line:
$ prof travel
prof will assume the data file is called mon.out.
If the data file has a name other than mon.out the -m option should be used to indicate the data file name. If the program and data file are in a different directory, you specify their paths relative to the current directory as follows:
$ prof -m dir/datafile dir/progname