Changes between Version 31 and Version 32 of TBR/UserManual/RTEMS_Coverage_Analysis


Ignore:
Timestamp:
Sep 9, 2009, 9:58:48 PM (10 years ago)
Author:
JoelSherrill
Comment:

/* Applying Coverage Analysis to RTEMS */ Fix formatting of picture/text.

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/RTEMS_Coverage_Analysis

    v31 v32  
    2323= How it was Done =
    2424
     25[[Image(CoverageFlow.png)]]]]
    2526
    2627The RTEMS Code Coverage Analysis process was designed to be as automated as possible.  The coverage testing is performed using a processor simulator in conjunction with a set of RTEMS specific support scripts.  The code to be analyzed is linked together as a single relocatable with special start (''start_coverage'') and end (''end_coverage'') symbols.  The relocatable is then linked to the same address in every test from the test suite.  Each test is then executed on a processor simulator that gathers information about which instructions were executed and produces a coverage map for the test.  After all tests have finished, the support script ''covmerge'' is used to merge all coverage maps into a unified coverage map for the entire test suite and to produce reports that identify the uncovered code.  The picture shown provides the general flow of the process.
    2728
    28 [[Image(CoverageFlow.png)]]]]
     29<br style="clear: both" />
    2930= What was Discovered =
    3031