System and method for acquiring high granularity performance data in a computer system
Abstract
A microprocessor performance monitor and instruction address break point facility are interconnected to provide finer granularity and performance monitoring. The microprocessor is initialized to collect processor statistics preselected prior to performance monitoring. Application start and stop instruction breakpoint addresses are preselected from a software program bounding instructions for which such statistics are desired. An exception handler is installed for instruction address breakpoints (IAB), enabling and disabling the performance monitor and stop addresses, respectively. The IAB register is then initalized to the start address, and the statistics counters are cleared. Upon starting the application, when the application start address instruction is executed, the breakpoint handler obtains control and enables the performance monitor counters, which count the desired statistics after returning from the breakpoint handler. Before returning, the handler sets the IAB register to the stop address. When the application stop address is encountered, the breakpoint handler disables the performance monitor counters, and rearms the start address in the IAB register. The performance mo
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 147.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for acquiring fine granularity hardware performance monitor data for a microprocessor architecture design associated with a computer program operating in a computer system, comprising: preselecting start and stop hardware address breakpoints bounding a portion of said computer program for which said performance monitor data is desired; executing said computer program; hardware performance monitoring for occurrence of said start and stop address breakpoints during said execution; and activating and deactivating said hardware performance monitoring to acquire said hardware perform
- Claim 2Depends on #1
The method of claim 1 wherein said monitoring comprises: detecting occurrence of said start and stop address breakpoints; and wherein said activating and deactivating comprises: activating a performance mon
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗