
Entering the Profiling Environment
10-3
Profiling Code Execution
10.2 Entering the Profiling Environment
To enter the profiling environment, invoke the debugger with the –profile op-
tion. At the system command line, enter the appropriate command:
sim6x –profile
Use any additional debugger options that you desire (–b, –p, etc.).
Restrictions of the profiling environment
Some restrictions apply to the profiling environment:
-
You’ll always be in mixed mode.
-
COMMAND, DISASSEMBLY, FILE, and PROFILE are the only windows
available; additional windows, such as the WATCH window, cannot be
opened.
-
Breakpoints cannot be set. (However, you can use a similar feature called
stopping points when you mark sections of code for profiling.)
-
The profiling environment supports only a subset of the debugger
commands. Table 10–1 lists the debugger commands that can and can’t
be used in the profiling environment.
Table 10–1. Debugger Commands That Can/Can’t Be Used in the Profiling Environment
Can be used
Can’t be used
?
ALIAS
CD
CLS
DASM
DIR
ECHO
EVAL
FILE
FUNC
IF/ELSE/ENDIF
LOAD
LOOP/ENDLOOP
MA
MAP
MD
ML
MOVE
MR
PROMPT
QUIT
RELOAD
RESET
RESTART
SCONFIG
SIZE
SLOAD
SSAVE
SYSTEM
TAKE
UNALIAS
USE
VERSION
WIN
ZOOM
ADDR
ASM
BA
BD
BL
BORDER
BR
C
CALLS
CNEXT
COLOR
CSTEP
DISP
FILL
GO
HALT
MEM
MIX
MS
NEXT
RETURN
RUN
SCOLOR
SETF
SOUND
STEP
WA
WD
WHATIS
WR
Be sure you don’t use any of the “can’t be used” commands in your initial-
ization batch file.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...