Causing an interrupt based on event count

US9575766B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9575766-B2
Application numberUS-201113991878-A
CountryUS
Kind codeB2
Filing dateDec 29, 2011
Priority dateDec 29, 2011
Publication dateFeb 21, 2017
Grant dateFeb 21, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Some implementations provide techniques and arrangements for causing an interrupt in a processor in response to an occurrence of a number of events. A first event counter counts the occurrences of a type of event within the processor and outputs a signal to activate a second event counter in response to reaching a first predefined count. The second event counter counts the occurrences of the type of event within the processor and causes an interrupt of the processor in response to reaching a second predefined count.

First claim

Opening claim text (preview).

What is claimed is: 1. A processor comprising: a functional unit to output a first signal in response to an occurrence of a type of event within the processor; a first event counter to count the occurrence of the type of event within the processor, the first event counter to count the occurrence of the type of event based at least in part on the first signal output from the functional unit, the first event counter to output a second signal in response to reaching a first predefined count; and a second event counter coupled with the functional unit and the first event counter, the second event counter to be activated in response to the second signal from the first event counter, the second event counter to cause an interrupt of the processor in response to reaching a second predefined count, wherein the first event counter comprises a first number of bits, the second event counter comprises a second number of bits, and the first number of bits is greater than the second number of bits. 2. A processor as recited in claim 1 , further comprising a reorder buffer unit that comprises the functional unit and the second event counter, wherein the functional unit is a retirement unit and the first event counter is external to the reorder buffer unit. 3. A processor as recited in claim 1 , wherein the interrupt of the processor is to cause sampling and storage of an instruction pointer in the processor. 4. A processor as recited in claim 1 , wherein the type of event is a retirement event. 5. A processor as recited in claim 1 , wherein the type of event is an instruction retired event. 6. A processor as recited in claim 1 , wherein the type of event is a branch retired event. 7. A processor as recited in claim 1 , wherein the interrupt of the processor is to cause sampling and storage of at least a portion of an architectural state of the processor. 8. A system comprising: a memory; a processor coupled to the memory, the processor including: a reorder buffer unit to output a first signal in response to an occurrence of a type of event within the processor; and an event counter external to the reorder buffer unit to count the occurrence of the type of event within the processor, the event counter to count the occurrence of the type of event based, at least in part, on the first signal output from the reorder buffer unit, the event counter to output a second signal in response to reaching a first predefined count and to cause an interrupt of the processor in response to reaching a second predefined count greater than the first predefined count, the reorder buffer unit to maintain an indication of content of the reorder buffer unit in response to the second signal. 9. A system as recited in claim 8 , wherein, in response to the interrupt, the processor is to use the indication of the content of the reorder buffer unit to store an instruction pointer. 10. A system as recited in claim 9 , further comprising micro-code to be executed to detect the instruction pointer to store based at least in part on the indication of the content of the reorder buffer unit. 11. A system as recited in claim 8 , wherein the event counter is external to the reorder buffer unit. 12. A system as recited in claim 8 , wherein the type of event is a retirement event. 13. A system as recited in claim 8 , wherein the type of event is an instruction retired event. 14. A system as recited in claim 8 , wherein the type of event is a branch retired event. 15. A system as recited in claim 8 , wherein, in response to the interrupt, the processor is to use the indication of the content of the reorder buffer unit to store at least a portion of an architectural state of the processor. 16. A method comprising: counting, by a first event counter of a processor, an occurrence of a type of event within the processor; outputting, by the first event counter of the processor, a first signal in response to reaching a first predefined count; activating a second event counter in response to the first signal from the first event counter; counting, by the second event counter, the occurrence of the type of event within the processor; and causing, by the second event counter, an interrupt of the processor in response to reaching a second predefined count, wherein the first predefined count is greater than the second predefined count. 17. A method as recited in claim 16 , further comprising sampling an instruction pointer in response to the interrupt. 18. A method as recited in claim 16 , wherein the type of event is a retirement event and a reorder buffer unit comprises the second event counter. 19. A method as recited in claim 16 , wherein the type of event is an instruction retired event. 20. A method as recited in claim 16 , wherein the type of event is a branch retired event. 21. A method as recited in claim 16 , further comprising sampling at least a portion of an architectural state of the processor.

Assignees

Inventors

Classifications

  • Monitoring involving counting · CPC title

  • Performance evaluation by tracing or monitoring · CPC title

  • Data logging (G06F11/14, G06F11/2205 take precedence) · CPC title

  • Event-based monitoring · CPC title

  • G06F9/3861Primary

    Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9575766B2 cover?
Some implementations provide techniques and arrangements for causing an interrupt in a processor in response to an occurrence of a number of events. A first event counter counts the occurrences of a type of event within the processor and outputs a signal to activate a second event counter in response to reaching a first predefined count. The second event counter counts the occurrences of the ty…
Who is the assignee on this patent?
Yasin Ahmad, Irelan Peggy J, Levy Ofer, and 3 more
What technology area does this patent fall under?
Primary CPC classification G06F11/3466. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 21 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).