Patents
US 7,779,238 B2#1603887 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for precisely identifying effective addresses associated with hardware events

37Forward Citations (#1603887 Global)
2.3/yrCitation Velocity (#1549942 Global)
5.23Citation PageRank (#3083749 Global)
14Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A system and method for precisely identifying an instruction causing a performance-related event is disclosed. The instruction may be detected while in a pipeline stage of a microprocessor preceding a writeback stage and the microprocessor's architectural state may not be updated until after information identifying the instruction is captured. The instruction may be flushed from the pipeline, along with other instructions from the same thread. A hardware trap may be taken when the instruction is detected and/or when an event counter overflows or is within a given range of overflowing. A software trap handler may capture and/or log information identifying the instruction, such as one or more extended address elements, before returning control and initiating a retry of the instruction. The captured and/or logged information may be stored in an event space database usable by a data space profiler to identify performance bottlenecks in the application containing the instruction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 37.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of performance monitoring, comprising: detecting an occurrence of a runtime event of a first event type; conveying a trap request in response to detecting the occurrence of the event; and in response to receiving the trap request: taking a precise trap; suppressing retirement of an instruction associated with the detected occurrence of the event; capturing extended address information corresponding to the instruction, wherein the extended address information comprises two or more extended address elements each of which represents an identifier of a hardware component, a software const

  2. Claim 2Depends on #1

    The method of claim 1 , wherein said suppressing retirement comprises inhibiting an update of an architectural state in response to ex

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Dean et al., "ProfileMe: Hardware Support for Instruction-Level Profiling on Out-of-Order Processors", Proceedings of the 30th Annual ACM/IEEE International Symposium on Microarchitecture, ACM, 1997, pp. 292-302.
  • Lysecky et al., "A Fast On-Chip Profiler Memory", Proceedings of the 39th Annual Design Automation Conference, ACM, 2002, pp. 28-33.
  • Monreal et al., "Late Allocation and Early Release of Physical Registers", IEEE Transactions on Computers, vol. 53, iss. 10, Oct. 2004, pp. 1244-1259.
  • Mysore et al. "Profiling over Adaptive Ranges", Proceedings of the International Symposium on Code Generation and Optimization, 2006, pp. 147-158.
  • Sprunt, "The Basics of Performance-Monitoring Hardware", IEEE Micro, vol. 22, iss. 4, Jul.-Aug. 2002, pp. 64-71.