Code Coverage dialog box

To access the Code Coverage dialog box, select Tools > Intel Compiler > Code Coverage....

Use the Code Coverage dialog box to set the code coverage feature.

Phase 1 - Instrument: Select this checkbox to compile your code into an instrumented application. The compiler option used is shown in Compiler Options. Deselect the Phase 1 - Instrument checkbox to skip this phase.

Phase 2 - Run Instrumented Application(s): Select this checkbox to run your instrumented application as well as other applications. You can specify the options to run with the applications by choosing the Application Invocations... button to access the Applications Invocations dialog box. Deselect the Phase 2 - Run Instrumented Application(s) checkbox to skip this phase.

Phase 3 - Generate Report: Select this checkbox to generate a report with the results of running the instrumented application. Choose the Settings... button to access the Code Coverage Settings dialog box to configure the settings.

Settings: Additional options for Codecov and Profmerge.

Ignore Object Unwind Handlers: Ignores compiler-generated object unwind handlers when computing and displaying basic block coverage. This is only applicable when the source code was built with exception handling enabled. (-nounwind)

Show Execution Counts: Generates dynamic execution counts. Execution counts are not generated by default. (-counts)

Treat Partially-covered Code As Fully-covered: Treats partially-covered code as fully-covered. By default, partially covered code is not treated in the same way as fully-covered code. (-nopartial)

Dump Profile Information: Displays profile information. (-dump)

Excluded Functions: A list of comma separated functions that are to be excluded from the profile. The period character can be used as a wild card character to match anything. Deselect the Phase 3 - Generate Report checkbox to skip this phase.

Profile Directory: Where the profile is stored.

Browse: Button to browse for the profile directory.

Show this dialog next time: Choose this button to access the dialog box when you run profile guided optimization.

Save Settings: Choose this button to save your settings.

Run: Choose this button to start the profile guided optimization.

Cancel: Choose this button to close this dialog box without starting the profile guided optimization.

For more complete information about compiler optimizations, see our Optimization Notice.