
When measuring a recursive function, module duration will be measured
between the last recursive call and the true end of the recursive execution.
This will affect the accuracy of the measurement.
If a module is entered at the normal point, and then exited by a point other
than the defined exit point, the entry point will be ignored. It will be judged
the same as any other unused prefetch, and no time-duration measurement
will be made. Its time will be included in the measure of time spent outside
the procedure or function.
If a module is exited from the normal point, and then re-entered from some
other point, the exit will also be assumed to be an unused prefetch of the exit
state.
Note that if you are making duration measurements on a function that is
recursive, or one that has multiple entry and/or exit points, you may wind up
with invalid information.
This section describes how to:
•
Set up the trace command for duration measurements.
•
Initialize duration performance measurements.
•
Interpret duration measurement reports.
To set up the trace command for duration
measurements
1
Specify a trace display depth of 512.
2
Trace after and store only function start and end addresses.
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
C A U T I O N
The previous command depends on the generation of correct exit address
symbols by the software development tools.
Making Software Performance Measurements
To set up the trace command for duration measurements
276
Summary of Contents for 64782
Page 2: ...User s Guide for the Graphical User Interface HP 64782 MC6833x Emulation Analysis ...
Page 22: ...Part 1 Quick Start Guide 21 ...
Page 24: ...1 Getting Started 23 ...
Page 50: ...Part 2 User s Guide 49 ...
Page 52: ...2 Plugging into a Target System 51 ...
Page 54: ...3 Starting and Exiting HP 64700 Interfaces 53 ...
Page 64: ...4 Entering Commands 63 ...
Page 94: ...5 Configuring the Emulator 93 ...
Page 133: ...132 ...
Page 134: ...6 Using the Emulator 133 ...
Page 194: ...7 Using the Emulation Analyzer 193 ...
Page 255: ...254 ...
Page 256: ...8 Making Software Performance Measurements 255 ...
Page 290: ...9 Using the External State Analyzer 289 ...
Page 303: ...302 ...
Page 304: ...10 Making Coordinated Measurements 303 ...
Page 321: ...320 ...
Page 322: ...11 Setting X Resources 321 ...
Page 336: ...Part 3 Reference 335 ...
Page 337: ...Descriptions of the product in a dictionary or encyclopedia format Part 3 336 ...
Page 338: ...12 Emulator Analyzer Interface Commands 337 ...
Page 415: ...set Emulator Analyzer Interface Commands set 414 ...
Page 429: ... SYMB Emulator Analyzer Interface Commands SYMB 428 ...
Page 445: ...444 ...
Page 446: ...13 Error Messages 445 ...
Page 489: ...488 ...
Page 490: ...Part 4 Concept Guide 489 ...
Page 491: ...Topics that explain concepts and apply them to advanced tasks Part 4 490 ...
Page 492: ...14 Concepts 491 ...
Page 507: ...506 ...
Page 508: ...Part 5 Installation Guide 507 ...
Page 509: ...Instructions for installing and configuring the product Part 5 508 ...
Page 510: ...15 Installation 509 ...
Page 527: ...526 ...
Page 528: ...16 Installing Updating Emulator Firmware 527 ...
Page 535: ...534 ...
Page 539: ...538 ...
Page 549: ...548 ...