MOTOROLA
Optimizing DSP56300/DSP56600 Applications
C-1
This section
describes way to
optimize the
application for
minimal power
consumption
Appendix
C
USING THE PROFILER
C.1
SCOPE
Profiling capabilities are built into the Motorola DSP Simulator. The
profiler provides dynamic and static analysis. The analysis results
are displayed in profiling report files.
Note:
Acquaintance with Motorola DSP Simulator is required for
activating the profiler. Please refer to the Simulator’s user’s
manual for detailed description of the DSP Simulator.
C.2
CREATING A PROFILER
Being an integral part of the Motorola DSP Simulator, the code that
is to be profiled is first loaded into the Simulator. The embedded
profiler is activated using the Simulator’s “log” command, by
specifying the ‘p’ command option. To invoke the profiler type the
command:
LOG P filename
Note:
‘filename’ is the name of the output file into which the profile
report will be written.
The DSP program should be assembled using the DSP Assembler’s
and Linker’s -g command line option. This option directs the
Assembler and Linker to place symbolic information in the
generated COFF file.
Profiling is terminated when the Simulator is exited, or when the
user issues the command ‘log off p’ or ‘log off’. Upon termination of
the profiling the profiler metrics report is written to file (see
Section