C.1 Scope; C.2 Creating A Profiler; Appendix C Using The Profiler - Motorola DSP56600 Manual

Application optimization for digital signal processors
Table of Contents

Advertisement

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:
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
C.3 on page C-2).
MOTOROLA
Optimizing DSP56300/DSP56600 Applications
LOG P filename
This section
describes way to
optimize the
application for
minimal power
consumption
C-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56300

Table of Contents