Example 1
In the following example, the FLOW_DATA environment variable is used to override the flow.data file name. The profile data is stored instead in /users/profiles/prog.data.
export FLOW_DATA=/users/profiles/prog.data aCC
aCC
aCC
Example 2
In this example, the +Oprofile=use:filename option is used to override the flow.data file name with the name /users/profiles/prog.data.
aCC
aCC
mv flow.data /users/profile/prog.data
aCC
Performing
To optimize the program based on the previously collected runtime profile statistics, recompile the program as follows:
aCC
For more information on
Pragmas That Control Optimization
Compiler options provide a
See “Optimization Pragmas” (page 103) for more information.
160 Optimizing HP aC++ Programs