![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-54939583x1.png)
3
This option causes execution frequency data to be collected and saved during execution, then the data can be used in subsequent runs to improve performance.
Table
Value Meaning
collect Collect and save execution frequency for later use by the optimizer.
The compiler inserts code to measure the execution frequency at a low level. During execution, the measured frequency data is written into
.prof files that correspond to each of the source files.
If you run the program several times, the execution frequency data accumulates in the .prof files; that is, output from prior runs is not lost.
use Use execution frequency data saved by the compiler.
Optimize by using the execution frequency data previously generated and saved in the .prof files by the compiler.
The source files and the compiler options (excepting only this option), must be exactly the same as for the compilation used to create the compiled program that was executed to create the .prof files.
tcov Correctly collects data for programs that have source code in header files or make use of C++ templates. See
Code instrumentation is performed similarly to that of
When running tcov, you must pass it the
Unlike
The Pascal Compiler | 59 |