Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program
Abstract
A method and apparatus in a data processing system for measuring events associated with the execution of instructions are provided. Instructions are received at a processor in the data processing system. If a selected indicator is associated with the instruction, counting of each event associated with the execution of the instruction is enabled. In some embodiments, the performance indicators, counters, thresholds, and other performance monitoring structures may be stored in a page table that is used to translate virtual addresses into physical storage addresses. A standard page table is augmented with additional fields for storing the performance monitoring structures. These structures may be set by the performance monitoring application and may be queried and modified as events occur that require access to physical storage.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 32.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for executing instructions in a data processing system, comprising: associating one or more instructions of a computer program with one or more performance indicators; storing the one or more performance indicators in one or more performance indicator fields of a page table; initiating one or more counter fields in the page table for the one or more instructions in association with corresponding performance indicators of the one or more performance indicators; incrementing counter values in the one or more counter fields during execution of an instruction of the computer program based
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 32 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Cache Miss Director-A Means of Prefetching Cache Missed Lines", Aug. 1, 1982, IBM Technical Disclosure Bulletin, vol. 25, Issue 3A, pp. 1286.
- "Hardware Cycle Based memory Residency", IBM, May 22, 2003, ip.com, IPCOM000012728D, pp. 1-2.
- "Method for the dynamic prediction of nonsequential memory accesses", Sep. 25, 2002, pp. 1-4, ip.com IPCOM000009888D.
- 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.