Instruction profiling using multiple metrics
Abstract
A system and method for collecting a plurality of metrics during a single run of a computer program. The mechanism of the present invention initializes a plurality of counters to count events associated with metrics of interest. The mechanism of the present invention then counts the occurrence of events associated with metrics of interest during a single execution of a computer program. Responsive to a determination that a counter in a plurality of counters has generated an interrupt, the interrupt is rerouted to an interrupt handler, wherein the interrupt handler generates trace records comprising trace information corresponding to the interrupt. The mechanism of the present invention then generates profiles for the trace records, wherein the profiles differentiate the trace records based on the metric type associated with each trace record.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system, having at least a processor, for profiling program execution on the data processing system, the method comprising: initializing, by the processor, a plurality of counters in a performance monitor unit residing in the processor to count a plurality of events, wherein each event is associated with a different metric, and wherein each counter is associated with one of the different metrics; counting, by each counter, occurrences of events that are associated with each respective counter during execution of a computer program that includes a plurality of branc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (4)
- Alexander, III et al., Method and Apparatus for Removal of Asynchronous Events in Complex Application Performance Analysis, Feb. 12, 2004.
- Alexander, III et al., System and Method for Collecting a Plurality of Metrics in a Single Profiling Run of Computer Code.
- Dewitt, Jr. et al., Method and Apparatus for Autonomic Detection of Cache "Chase Tail" Conditions and Storage of Instructions/Data in "Chase Tail" Data Structure, Jan. 14, 2004.
- Hussain et al., Apparatus and Method for Cataloging Symbolic Data for Use in Performance Analysis of Computer Programs, Jul. 10, 2000.