HP 64746 User Manual page 295

Emulation/analysis
Table of Contents

Advertisement

Initialization with User Defined Ranges
You can specifically give the SPMT address ranges to use by placing the
information in a file and entering the file name in the
performance_measurement_initialize command.
Address range files may contain program symbols (procedure name or static), user
defined address ranges, and comments. An example address range file is shown
below.
# Any line which starts with a # is a comment.
# All user's labels must be preceded by a "|".
|users_label
10H 1000H
program_symbol
# A program symbol can be a procedure name or a static.
# cedure name the range of that procedure will be used.
|users_label2 program_symbol1 -> program_symbol2
# "->" means thru.
The above will define a range which starts with symbol1
# and goes thru symbol2.
# be defined as the start of symbol1 thru the end of symbol2.
dir1/dir2/source_file.s:local_symbol
# The above defines a range based on the address of local_symbol.
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.
Chapter 8: Making Software Performance Measurements
If both symbols are procedures then the range will
Activity Performance Measurements
In the case of a pro-
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents