Code Profiling
Calculate metrics such as code coverage, execution times, or memory usage
Code profiling involves calculating one of these metrics for your C/C++ source code:
Code coverage helps you determine whether your test cases adequately cover the execution paths of your code.
Execution time helps you identify functions and other callable entities that introduce bottlenecks in your code.
Memory use helps you identify functions or other callable entities that consume unexpected amount of stack memory.
You can perform code profiling in the Polyspace Platform user interface after specifying your compilation toolchain. Alternatively, if your tests are authored using the Polyspace® Test™ C/C++ xUnit API, you can perform code profiling in your own development environment using an existing toolchain setup.
Categories
- Code Profiling in Polyspace Platform User Interface
Calculate C/C++ source code coverage with respect to existing tests, calculate execution times
- Code Profiling Using Existing Toolchain Setup
Calculate code coverage, execution time, or memory use of your C/C++ source files and xUnit tests