I have a question concerning the Intel Code Coverage. It passes successfully both steps of the Intel Code Coverage analysis within VS 2010.
Phase 1: Instrument for Code Coverage
Phase2: Run Instrumented Application
If the application terminates after phase 2 nothing special happens. I expected some kind of statistics or analysis. But everything looks like a regular run. I have also search the documentation for more information on how to use this function. But I could not find anything that helps. Also I have not found any analysis file in the project folder.Daniel
Code Coverage is not fully implemented in the Intel Composer XE integration for Visual Studio. You can instrument code and run instrumented code only from the IDE. But then you need to merge the results from the static and dynamic profiling using the tool 'profmerge' and then create your Code Coverage result using the tool 'codecov'.
So after having instrumented and run the code (via right-click on the project > Intel C++ Composer XE 2011 > Code Coverage Opterations > Phase 1: .... and then Phase 2: ....) you need to go to the working directory (starting from the directory where you start your .sln file: \
and create your CC results
A top-level CODE_COVERAGE.HTML file together with the CodeCoverage subdirectory is being created showing the Code Coverage results.
Please refer to the documentation (from the Visual Studio Help menu > Intel C++ Composer XE 2011 > Intel C++ Composer XE Help > and search for 'code coverage Tool' to get more information.
Does this help?
Thanks for your efforts. I will check that later and let you know if that works. Are there any plans to integrate that into the IDE to make this handling easier in the future?