Code Profiling Utilities Manual
Running the Application
HP Code Profiling Utilities Manual—542684-003
4-2
Insulating the Application
Insulating the Application
By default, the raw data file is placed in the default subvolume (or current working
directory) when the program or DLL is initiated. To keep the raw data files for different
runs and different applications separate:
•
Use the profdir option when compiling your source files to specify different
subvolumes or directories for the raw data files.
•
Run each instrumented application in a different subvolume or working directory.
•
Archive raw data files that represent earlier versions of the source code. Remove
such files from the default subvolume or current working directory.
•
Use a
different
subvolume or working directory for different runs of the same
source code if you want to compare the optimizations or code coverage provided
by the various runs. Use the
same
subvolume or working directory for different
runs of the same source code if you want to optimize, or measure the code
coverage provided by, all runs combined.
An existing raw data file is never overwritten. If a raw data file having the same name
already exists in the subvolume or directory, the instrumented program will create an
additional file with a different name.
Run the Application
Run the application on each test case that you have selected. Each run generates a
single raw data file.
To produce a raw data file from an application that does not ordinarily terminate, stop
the application manually.
If any errors occur during execution of the instrumented application, they are written to
the standard output file (stdout) or the standard error file (stderr). You should record
any error messages, as they can be useful to HP support personnel should you require
their assistance in determining the cause of the errors.
Verify Output
Check for one or more files with names of the form ZZPF
*
in the Guardian environment
or the extension .dyn in the OSS environment. The files are located in:
•
the specified directory or subvolume, if the profdir option was specified on the
compiler run command
•
the current working directory or default subvolume, if the profdir option was omitted
from the compiler run command
On the NonStop server, a raw data file is a type 180 binary file.










