| |||
| Home > The Code and Replay Views > The disassembly panel > Code view totals panel | |||
The totals panel in the code view is similar to the totals panel you find in the various table reports in that it shows you the accumulated data for a range of selected rows. It gives you aggregate values for time, average CPI and code coverage. The code view totals panel fields are:
Time - The total amount of time used by the selected instructions.
Code Coverage - The Code Coverage field shows you the percentage of the selected code that was executed during the run captured by the current analysis file. If a single conditional instruction is selected, a parenthetical is listed after the code coverage number, telling you exactly how many times the instructions reported a pass versus how many times it reported a failure (pass/fail).
Avg. CPI - The average of all the CPI values for the selected instructions. The number in parentheses next to the average CPI value is the expected average CPI value, based on instruction type. If you accumulate your data using a Real-Time System Model, the delta between CPI and expected CPI is based solely on the detected interlocks. If data was collected using RealView Trace 2, the CPI values are determined by multiplying the samples by the sampling rate and dividing by the instruction count. Disparity between the CPI and expected CPI, when based on actual trace data, can have a number of causes, including accesses to slow external memory or cache effects.
Interlock - This field lists the register that caused the interlock by the selected instruction. Nothing is displayed if multiple rows are selected.