HP 64767 User Manual page 245

Emulation/analysis
Table of Contents

Advertisement

Chapter 8: Making Software Performance Measurements
Activity Performance Measurements
Examples
Suppose the "addr_ranges" file contains the names of all the functions in the "ecs"
demo program loop:
combsort
do_sort
gen_ascii_data
get_targets
graph_data
interrupt_sim
proc_specific
read_conditions
save_points
set_outputs
strcpy8
update_system
write_hdwr
Since these labels are program symbols, you do not have to specify the address
range associated with each label; the SPMT will search the symbol database for the
addresses of each label.
An easy way to create the "addr_ranges" file is to use the copy global_symbols
command to copy the global symbols to a file named "addr_ranges"; then, fork a
shell to UNIX (by entering "! <RETURN>" on the Softkey Interface command
line) and edit the file so that it contains the procedure names shown above. Enter a
<CTRL>d at the UNIX prompt to return to the Softkey Interface.
To initialize the activity measurement with a user-defined address range file:
performance_measurement_initialize addr_ranges <RETURN>
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

80186/8/xl/ea/eb

Table of Contents