Making Software Performance Measurements
To end performance measurements
Examples
To run the performance measurement, enter the following command:
performance_measurement_run 20
The command above causes 20 traces to occur. The SPMT processes the
trace information after each trace, and the number of the trace being
processed is shown on the status line.
To end performance measurements
•
Use the performance_measurement_end command.
The performance_measurement_end command takes the data generated
by the performance_measurement_run command and places it in a file
named perf.out in the current directory. If a file named "perf.out" already
exists in the current directory, it will be overwritten. Therefore, if you wish
to save a performance measurement, you must rename the perf.out file
before performing another measurement.
The performance_measurement_end command does not affect the
current performance measurement data which exists within the emulation
system. In other words, you can add more traces later to the existing
performance measurement by entering another
performance_measurement_run command.
Once you have entered the performance_measurement_end command,
you can use the perf32 report generator to look at the data saved in the
perf.out file.
Note that the "perf.out" file is a binary file. Do not try to read it with the
UNIX more or cat commands. The perf32 report generator utility (described
in the following section) must be used to read the contents of the "perf.out"
file.
286