HP Caliper User's Guide

If you do not use the -d option, the database file is saved in the databases directory.
Examples
-d foo.db,unique
--database bar.db,unique
These options would result in database names such as the following:
foo.db-14921
bar.db-288
For more information, see “How HP Caliper Saves Data in Databases” (p. 147).
-e or --duration
-e seconds
Elapsed time in real-time seconds before detaching from a running process. When you
specify this option, HP Caliper stops measuring the target processes after the specified
duration and reports the data. When HP Caliper stops measuring, the application
continues to run normally.
NOTE: When HP Caliper stops its measurement, I/O processes may be affected. See
“Restrictions on Using HP Caliper” (page 40).
This option is not available for cgprof, fcount, and fcover measurements.
See Attaching to a Running Process to Perform Measurements” (p. 132) for details.
-f or --options-file
-file options_file
Specifies a text file containing a list of HP Caliper command-line options separated by
spaces or line breaks.
You can also use an options file to specify an HP Caliper measurement as well as the
application to be profiled and its arguments.
Any option you specify on the command line overrides the corresponding setting in
the options file.
HP Caliper places the contents of the options file in the position occupied by the -f
option in the command line. HP Caliper displays an error if the contents of the options
file create an invalid condition.
For example, if you place the application to be profiled and its arguments in an options
file called myopts, then HP Caliper reports an error given this command line:
$ caliper -f myopts fprof -o out.text
The command succeeds if reordered this way:
$ caliper fprof -o out.text -f myopts
-e or --duration 65