
Defining Areas for Profiling
10-7
Profiling Code Execution
Table 10–2 lists the menu selections for marking areas. The highlighted areas
show the keys that you can use if you prefer to use the function-key method
of selecting menu choices.
Table 10–2. Menu Selections for Marking Areas
To mark this area
C only:
Mark
→
C level
Disassembly only:
Mark
→
Asm level
Lines
-
By line number
†
-
All lines in a function
→
Line areas
→
Explicitly
→
in one Function
→
Line areas
→
Explicitly
→
in one Function
Ranges
-
By line numbers
†
→
Range areas
→
Explicitly
→
Range areas
→
Explicitly
Functions
-
By function name
-
All functions in a module
-
All functions everywhere
→
Function areas
→
Explicitly
→
in one Module
→
Globally
not applicable
† C areas are identified by line number; disassembly areas are identified by address.
Disabling an area
At times, it is useful to identify areas that you don’t want to impact profile statis-
tics. To do this, you should
disable the appropriate area. Disabling effectively
subtracts the timing information of the disabled area from all profile areas that
include or call the disabled area. Areas must be marked before they can be
disabled.
For example, if you have marked a function that calls a standard C function
such as malloc(), you may not want malloc() to affect the statistics for the call-
ing function. You could mark the line that calls malloc(), and then disable the
line. This way, the profile statistics for the function would not include the statis-
tics for malloc().
Note:
If you disable an area after you’ve already collected statistics on it, that infor-
mation will be lost.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...