
Duration Performance Measurements
Duration measurements provide a best-case/worst-case characterization of
code execution time. These measurements record execution times that fall
within a set of specified time ranges. The analyzer trace command is set up
to store only the entry and exit states of the module to be measured (for
example, a C function or Pascal procedure). The SPMT provides two types of
duration measurements: module duration, and module usage.
Module duration measurements record how much time it takes to execute a
particular code segment (for example, a function in the source file).
Module usage shows how much of the execution time is spent outside of the
module (from exit to entry). This measurement gives an indication of how
often the module is being used.
When using the SPMT to perform duration measurements, there should be
only two addresses stored in the trace memory: the entry address, and the
exit address. Recursion can place several entry addresses before the first
exit address, and/or several exit addresses before the first entry address.
Duration measurements are made between the last entry address in a series
of entry addresses, and the last exit address in a series of exit addresses (see
the figure below). All of the entry and exit addresses which precede these
last addresses are assumed to be unused prefetches, and are ignored during
time measurements.
START - assumed prefetch
START - assumed prefetch
START - assumed prefetch
START - last ENTRY address -
END - assumed prefetch
END - assumed prefetch Measure duration
END - assumed prefetch
END - last EXIT address -
START - assumed prefetch
START - assumed prefetch Measure duration
START - assumed prefetch
START - last ENTRY address -
END - assumed prefetch
END - assumed prefetch
275
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 ...