Download TMS320C54x C Source Debugger User's Guide

Transcript
Defining Areas for Profiling
Unmarking an area
If you want to stop collecting information about a specific area, unmark it.
The easiest way to unmark an area is to double-click the green or white arrow(s) next to marked line, range, or function. This unmarks the line, range,
or function.
You can also unmark an area by using the Profile Marking dialog box:
1) Open the Profile Marking dialog box by using one of these methods:
From the Tools→Profile menu, select Select Areas.
From the context menu for the Profile window, select Select Areas.
2) In the Level box, select C, Assembly, or Both.
3) In the Area box, select Lines, Ranges, Functions, or All areas. See
Table 8–3 for a list of valid combinations.
4) Depending on what you select in step 3, do one or more of the following:
Next to Lines, enter an absolute address, C expression, assembly
label, or line number.
Next to Ranges, enter a Start and an End value as absolute address-
es, C expressions, assembly labels, or line numbers.
From the Module combo box, select a specific filename.
From the Function combo box, select a specific function name.
See Table 8–3 for a list of valid combinations.
5) Click Unmark.
6) Click Close to close the dialog box.
Restrictions on profiling areas
The following restrictions apply to profiling areas:
An area cannot begin or end in the delay slot of a load instruction (emulator
only).
An area cannot begin in the delay slot of a branch instruction.
An area can end in the last delay slot of a branch instruction but cannot
end in any other delay slot of a branch instruction.
8-12