Using the Profiler
MOTOROLA
Optimizing DSP56300/DSP56600 Applications
C-5
C.3.4
Code Coverage Report
The code coverage report juxtaposes the assembly source code with
dynamic profile information pertaining to the code generated for
that source. The report provides, for each source line that
corresponds to an assembly instruction, the number of times control
has passed through that instruction and the total number of
machine cycles spent in executing the instruction. For conditional
instruction, the number of times the condition has evaluated to
TRUE is also provided. For DO-type instructions (DO, DOR, DO
FOREVER) the cycle count provided is the total number of cycles
spent executing the corresponding loop, not just the DO instruction
itself. For each source line containing a macro invocation which
resulted in expansion into more than one instruction, the
instructions expanded by the macro invocation are displayed in
disassembly form.
depicts part of the Code Coverage
Report, in ASCII format.
Example C-6
Code Coverage Report
[0164] 00010D 100 100 clr B A,y0
[0165] 00010E 1700 500 100 rep #16
[0166] 00010F 1700/100 1600 div x0,A
[0167] 000110 100 100 move a0,B
[0168] 000111 300/100 100 and #>SW_MAX,B
[0169] 000113 100 100 move b1,A
[0170] 000114 100 100 move x1,B
[0171] 000115 100 100 cmp y0,B
[0172] 000116 483 100/17 bne <if2falseaFlatRcDp
[0173] 000117 166/83 83 neg A
[0174] MV #$0,x0
000118 100 1 // nop
000119 100 1 // move #$0,x0
00011A 100 1 // nop
00011B 100 1 // inc a
Line number Instr. address
# times instruction was executed /
Source code
Disassembly of inlined macro
#Cycles/stalls spent on this instruction
# times condition evaluated to true
#Cycles spent in
this loop
Содержание DSP56300
Страница 49: ...3 20 Optimizing DSP56300 DSP56600 Applications MOTOROLA Program Control Using Fast Interrupts ...
Страница 95: ...7 10 Optimizing DSP56300 DSP56600 Applications MOTOROLA Compact Opcode Use Special Instructions ...
Страница 99: ...A 4 Optimizing DSP56300 DSP56600 Applications MOTOROLA Saving Power Disabling Functional Blocks ...
Страница 103: ...B 4 Optimizing DSP56300 DSP56600 Applications MOTOROLA Debug and Test Support Address Tracing ...