
Running a Profiling Session
10-15
Profiling Code Execution
10.5 Running a Profiling Session
Once you have defined profile areas and a stopping point, you can run a profil-
ing session. You can run two types of profiling sessions:
-
A full profile collects a full set of statistics for the defined profile areas.
-
A quick profile collects a subset of the available statistics (it doesn’t
collect exclusive or exclusive max data, which are described in Section
10.6,
Viewing Profile Data). This reduces overhead because the debugger
doesn’t have to track entering/exiting subroutines within an area.
The debugger supports commands for running both types of sessions. In addi-
tion, the debugger supports a command that helps you to resume a profiling
session. All of these commands can also be entered from the Profile menu.
pf
To run a full profiling session, use the PF (profile full) command. The syntax
for this command is:
pf
starting point [, update rate]
pq
To run a quick profiling session, use the PQ (profile quick) command. The
syntax for this command is:
pq
starting point [, update rate]
The debugger will collect statistics on the defined areas between the
starting
point and the stopping point. The starting point parameter can be a label, a
function name, or a memory address. There is no default starting point.
The
update rate is an optional parameter that determines how often the statis-
tics listed in the PROFILE window will be updated. The
update rate parameter
can have one of these values:
0
An
update rate of 0 means that the statistics listed in the PROFILE
window are not updated until the profiling session is halted. A
“spinning wheel” character will be shown at the beginning of the
PROFILE window label line to indicate that a profiling session is in
progress. 0 is the default value.
≥
1
If a number greater than or equal to 1 is supplied, the statistics in the
PROFILE window are updated during the profiling session. If a value
of 1 is supplied, the data will be updated as often as possible. When
larger numbers are supplied, the data is updated less often.
<0
If a negative number is supplied, the statistics listed in the PROFILE
window are not updated until the profiling session is halted. The “spin-
ning wheel” character is not displayed.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...