Lost-cycle measurement using cycle counter
Abstract
A method of lost-cycle measurement using a cycle counter. In some embodiments, the lost-cycle measurement method comprises: getting a current cycle counter value; finding a number of elapsed cycles between the current cycle counter value and a preceding cycle counter value; determining whether the number of elapsed cycles is indicative of lost cycles; and repeating.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 1.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of software execution: getting a current cycle counter value in a processor; finding a number of elapsed cycles between the current cycle counter value and a preceding cycle counter value in the processor; determining whether the number of elapsed cycles is indicative of lost cycles; and repeating said getting, finding, and determining to determine a lost-cycle measurement for the processor.
- Claim 2Depends on #1
The method of claim 1 , wherein said determining comprises comparing the number of elapsed cycles to a threshold value that approximates a minimum number of cycles needed for a loop iteration.
- Claim 3Depends on #1
The method of claim 1 , further comprising adding the number of elapsed cycles to a lost cycle counter if the number of elapsed cycles is indicative of lost cycles.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗