C-2
Optimizing DSP56300/DSP56600 Applications
MOTOROLA
Using the Profiler
C.3
THE PROFILING REPORT
The profiling report is provided in two formats: ASCII and
Postscript. Assuming the profiler was invoked using the command
‘log p filename’, the ASCII report in written into the file named
filename.log and the Postscript report is written into the file named
filename.ps. The profile report consists of several sections, each
pertaining to some metrics of the DSP program. The following
sections describe each of the report sections.
C.3.1
Basic Report
The basic section of the report consists of the static and dynamic
subsections. The static subsection describes how many data words
(initialized and uninitialized) and how many instruction words the
program occupies. The dynamic subsection describes how many
data and instruction words were moved between the DSP core and
memory during execution of the DSP program. It also describes the
number of instructions executed, the number of clock cycles
executed, and the number of clock cycles spent on stalls and
interlocks.
depicts the basic report section (in ASCII
format).
Example C-1
Typical Basic Profiler Report
Basic Profile
Static
Initialized data size
: 0 words
Uninitialized data size : 3111 words (X=1984, Y=1127, P=0)
Code size
: 15577 words
Instructions
: 6708
Dynamic
Total cycle count
: 33375394 cycles
Stall cycle count
: 849568 cycles
Code size
: 27041412 words
Instructions
: 25836700
Function calls
: 132977
Data memory references
Memory Read Write
-----------------------------------
Internal 22102025 3505689
External 1188007 17424
Internal ROM 0 --
External ROM 0 --