Method and apparatus for qualifying collection of performance monitoring events by types of interrupt when interrupt occurs
Abstract
A method, apparatus, and computer instructions for qualifying events by types of interrupt when interrupt occurs in the processor of a data processing system. A programmable performance monitoring unit (PMU) is used to program hardware counters that collect events associated with a type of interrupt, including nested interrupts. The performance monitoring unit may also count events that occur while servicing interrupt requests based upon the state of interrupt processing. Events that are known to the performance monitoring unit such as instruction retired, TLB misses, may be counted at the same time using a number of performance monitoring counters in the performance monitoring unit.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 12.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of executing instructions in a data processing system, comprising: receiving a signal at a microprocessor of the data processing system for invoking an interrupt, wherein the interrupt includes a plurality of states; and counting at least one event for a selected state of the plurality of states during processing of the interrupt.
- Claim 2Depends on #1
The method of claim 1 , wherein the step of counting includes counting at least one event for each of the plurality of states during the processing of the interrupt.
- Claim 3Depends on #1
The method of claim 1 , wherein the plurality of states include interrupt on, interrupt taken and interrupt acknowledged.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Aho et al., "Compilers: Principles, Techniques, and Tools", Addison-Wesley, 1988, pp. 488-497.
- Chang et al., "Using Profile Information to Assist Classic Code Optimizations", Software Pract. Exper. 21, Dec. 1991, pp. 1301-1321.
- Cohen et al., "Hardware-Assisted Characterization of NAS Benchmarks", Cluster Computing, vol. 4, No. 3, Jul. 2001, pp. 189-196.
- Conte et al., "Accurate and Practical Profile-Driven Compilation Using the Profile Buffer", Proceedings of the 29th Annual ACM/IEEE International Symposium on Microarchitecture, Paris, France, 1996, pp. 36-45.
- Conte et al., "Using Branch Handling Hardware to Support Profile-Driven Optimization", Proceedings of the 27th Annual International Symposium on Microarchitecture, San Jose CA, 1994, pp. 12-21.