The code coverage tool provides the ability to determine how much application code is executed when a specific workload is applied to the application. The tool analyzes static profile information generated by the compiler, as well as dynamic profile information generated by running an instrumented form of the application binaries on the workload. The tool can generate a report in HTML-format and export data in both text- and XML-formatted files. The reports can be further customized to show color-coded, annotated source-code listings that distinguish between used and unused code.
To start code coverage:
Select Tools > Intel Compiler > Code Coverage... to access the Code Coverage dialog box.
Specify settings for the various phases.
Click Run to start code coverage.
The Output window shows the results of the coverage and a general summary of information from the code coverage.