Initialization with Global Symbols
When the "performance_measurement_initialize" command is
entered with no options or with the "global_symbols" option, the
global symbols in the symbols database become the address ranges
for which activity is measured. If the symbols database is not
loaded, a default set of ranges that cover the entire processor
address range will be used.
The global symbols database contains procedure symbols, which
are associated with the address range from the beginning of the
procedure to the end, and static symbols, which are associated with
the address of the static variable.
Initialization with Local Symbols
When the "performance_measurement_initialize" command is
entered with the "local_symbols_in" option and a source file name,
the symbols associated with that source file become the address
ranges for which activity is measured. If the symbols database is
not loaded, an error message will occur telling you that the source
filename symbol was not found.
You can also use the "local_symbols_in" option with procedure
symbols; this allows you to measure activity related to the symbols
defined in a single function or procedure.
Below are example commands showing performance measurement
initialization with local symbols.
performance_measurement_initialize
local_symbols_in spmt_demo.C: <RETURN>
performance_measurement_initialize
local_symbols_in spmt_demo.C:math_library
<RETURN>
performance_measurement_initialize
local_symbols_in math_library <RETURN>
Restoring the Current Measurement
The "performance_measurement_initialize restore" command
allows you to restore old performance measurement data from the
perf.out file in the current directory.
Performance Measurements 4-9