User manual

UM0036 STice features
Doc ID 7705 Rev 11 273/385
Contextual percentage
Indicates the time spent executing code in the function as a percentage of the total
processing time for the containing object in the hierarchy of elements in your program.
It may be a percentage of C lines, or functions, or the total.
Percentage of total
For a function, indicates the lines that are executed as a percentage of the total number
of lines in the function. A value of zero indicates that the line was not executed.
For a line, indicates the instructions that are executed as a percentage of the total
instructions in the line. A value of zero indicates that the instruction was not executed.
Average time (ns)
Indicates the average time spent executing the selected component (function, or C line
or assembler instruction) in nanoseconds.
Interrupt (Yes/No)
Indicates whether an interrupt occurred during execution of the instruction, line, or
function.
Percentage covered
For a function, indicates the lines that are executed as a percentage of the total number
of lines in the function. A value of zero indicates that the line was not executed.
For a line, indicates the instructions that are executed as a percentage of the total
instructions in the line. A value of zero indicates that the instruction was not executed.
Calls
Indicates the number of external calls to the function, line of code or instruction
(occurrences).
Source file
Indicates the source file (C or Assembler) that contains the function.
Figure 205 shows the coverage and profiling test results organized by function. You can
obtain greater detail for each function, by clicking on the plus (+) sign to expand it to display
the list of lines and instructions within the function as shown in Figure 205.
Figure 205. Code coverage and profiling analysis: functions/instructions view