Using Trace Commands Other Than The Default; Duration Measurements; Initializing The Performance Measurement - HP 64700 Series User Manual

64000-ux case solutions for microprocessors, softkey interface
Hide thumbs Also See for 64700 Series:
Table of Contents

Advertisement

Initializing the
Performance
Measurement
4-6 Performance Measurements
triggers on any state, and all captured states are stored. Also, since
states are stored "after" the trigger state, the maximum number of
captured states appears in each trace list.
Using Trace Commands Other than the Default. You can
qualify trace commands any way you like to obtain specific
information. However, when you qualify the states that get stored
in the trace memory, your SPMT results will be biased by your
qualifications; the percentages shown will be of only those states
stored in the trace list.

Duration Measurements

For duration measurements, the trace command must be set up to
store only the entry and exit points of the module of interest. Since
the trigger state is always stored, you should trigger on the entry or
exit points. For example:
trace after symbol_entry or symbol_exit only
symbol_entry or symbol_exit counting time
<RETURN>
Or:
trace after module_name start or module_name
end only module_name start or module_name
end counting time <RETURN>
Where "symbol_entry" and "symbol_exit" are symbols from the user
program. Or, where "module_name" is the name of a C function or
Pascal procedure (and is listed as a procedure symbol in the global
symbol display).
After you set up the trace command, you must tell the SPMT the
address ranges on which you wish to make activity measurements
or the time ranges to be used in the duration measurement. This is
done by initializing the performance measurement. You can
initialize the performance measurement in the following ways:
Default initialization (activity measurement using global
symbols if the symbols database is loaded).

Advertisement

Table of Contents
loading

Table of Contents