Performance monitoring based on instruction sampling in a microprocessor
Abstract
The problem identified above is addressed in large part by a microprocessor as disclosed herein. The microprocessor includes a dispatch unit configured to receive a set of instructions from an instruction cache and to forward the set of instructions to an issue queue when the instructions are ready for execution. The dispatch unit may include sampling logic that is configured to select one of the instructions for performance monitoring from the set of instructions. The microprocessor further includes a performance monitor unit enabled to monitor performance characteristics of the selected instruction as it executes. The sampling logic may identify the instruction selected for monitoring as the instruction occupying an eligible position within the set of instructions. The eligible position from which the monitored instruction is selected may vary with each subsequent set of instructions. The sampling logic may include a selection mask that contains an asserted bit that identifies the position within the set of instructions from which the selected instruction is chosen. The selection mask may include a single bit for each position in the set of instructions and may be implemented as
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 53.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A microprocessor comprising: a dispatch unit configured to forward instructions comprising an instruction group to at least one functional unit for execution; sampling logic configured to select an instruction from the instruction group for performance monitoring based upon the slot within the instruction group in which the selected wherein the sampling logic generates a selection vector comprising a single asserted bit indicative of the instruction group slot in which the selected instruction is located; and a performance monitor unit configured to receive from the functional unit at least on
- Claim 2Independent Claim
The microproce
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗