← Back to Patent Explorer
US5657253A Expired / Lapsed US ⏱️ 0.0 years remaining

Apparatus for monitoring the performance of a microprocessor

Assignee: Intel Corp
•
Filing: 1992-05-15
•
Granted: 1997-08-12
•
Expires: 2012-05-15
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract An apparatus for measuring and monitoring various parameters that contribute to the performance of a processor includes a pair of programmable event counters for counting any two independent events selected from a predetermined list of processor events. A specialized register controls the operation of the event counters and also selects the events to be counted. The contents of the event counters can be accessed either by a supervisor mode program which reads an instruction or through a special access port.

Inventors

  • 👤 Robert S. Dreyer
  • 👤 Donald B. Alpert

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 18:35
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/30; G06F11/34; G06F11/3466; G06F11/348; G06F11/3409; G06F2201/00; G06F2201/86; G06F2201/88

Claims Analysis

Total Claims: 26
Claim 1
Independent Claim 73 words
An apparatus embedded in a microprocessor for monitoring the performance of said microprocessor comprising: counting means for counting at least one event selected from a predetermined list of events resulting from the normal operation of said microprocessor; controlling means for controlling said counting means and for choosing said at least one event from said list; and accessing means for accessing said counting means to determine the count of said at least one event.
Claim 2
Independent Claim 73 words
An apparatus embedded in a microprocessor for monitoring the performance of said microprocessor comprising: counting means for counting at least one event selected from a predetermined list of events resulting from the normal operation of said microprocessor; controlling means for controlling said counting means and for choosing said at least one event from said list; and accessing means for accessing said counting means to determine the count of said at least one event.
Claim 3
Dependent Claim 15 words
The apparatus of claim 1 wherein said counting means comprises a plurality of programmable counters.
Claim 4
Dependent Claim 30 words
The apparatus of claim 2 wherein said controlling means comprises a register, for each counter said register including a first field of bits for choosing an event to be counted.
Claim 5
Dependent Claim 36 words
The apparatus of claim 3 wherein said register further comprises, for each counter, a second field of bits for selecting between counting said event chosen by said first field and counting clock cycles of said microprocessor.
Claim 6
Dependent Claim 17 words
The apparatus of claim 4 wherein said second field of bits also functions to disable said counters.
Claim 7
Dependent Claim 24 words
The apparatus of claim 5 wherein said accessing means comprise instruction means within said microprocessor for reading the count from each of said counters.
Claim 8
Dependent Claim 15 words
The apparatus of claim 6 wherein said list of events includes occurrence and duration events.
Claim 9
Dependent Claim 30 words
The apparatus of claim 7 further comprising a free-running time stamp counter incrementing on every clock cycle of said microprocessor, said time stamp counter being accessed by said instruction means.
Claim 10
Dependent Claim 17 words
The apparatus of claim 5 wherein said accessing means comprises an external port coupled to said counters.
Claim 11
Dependent Claim 46 words
The apparatus of claim 4 wherein said microprocessor includes a protection mechanism comprising a plurality of privilege levels and wherein said controlling means further includes a means for masking the current privilege level of either said event chosen by said first field or said clock cycles.
Claim 12
Dependent Claim 89 words
A computer system which includes a central processing unit (CPU) and an apparatus for monitoring the performance of said CPU, said apparatus comprising: a plurality of programmable event counters for counting two or more independent events from a predetermined list of events resulting from the normal operation of said microprocessor; a register controlling the operation of said event counters, said register also selecting the events to be counted from said list of events; and a means for accessing said event counters to determine the current count of said events.
Claim 13
Dependent Claim 89 words
A computer system which includes a central processing unit (CPU) and an apparatus for monitoring the performance of said CPU, said apparatus comprising: a plurality of programmable event counters for counting two or more independent events from a predetermined list of events resulting from the normal operation of said microprocessor; a register controlling the operation of said event counters, said register also selecting the events to be counted from said list of events; and a means for accessing said event counters to determine the current count of said events.
Claim 14
Dependent Claim 27 words
The computer system of claim 11 wherein said accessing means comprises instruction means within said processor for reading said count without disturbing the operation of said counters.
Claim 15
Dependent Claim 41 words
The computer system of claim 11 wherein said accessing means further comprises an external port coupled to said plurality of programmable event counters, said external port providing direct access to said count without interfering with said normal operation of said microprocessor.
Claim 16
Dependent Claim 25 words
The computer system of claim 13 wherein said register includes for each counter, a first field of bits for choosing an event to be counted.
Claim 17
Dependent Claim 46 words
The computer system of claim 14 wherein said register further comprises, for each said counter, a second field of bits for selecting between counting said event chosen by said first field and counting clock cycles of said CPU, said second field also for disabling said counters.
Claim 18
Dependent Claim 21 words
The computer system of claim 15 further comprising a means for stopping and clearing said counters before selecting a new event.
Claim 19
Dependent Claim 18 words
The computer system of claim 15 further comprising a means for presetting said counters to a certain state.
Claim 20
Dependent Claim 18 words
The computer system of claim 17 further comprising a means for indicating an overflow condition of said counters.
Claim 21
Dependent Claim 34 words
The computer system of claim 18 wherein said apparatus further comprises a free-running time stamp counter incrementing on every clock cycle of said CPU, said time stamp counter being accessed by said instruction means.
Claim 22
Dependent Claim 17 words
The computer system Of claim 15 wherein said predetermined list of events includes occurrence and duration events.
Claim 23
Independent Claim 112 words
An apparatus incorporated in an integrated circuit (IC) which includes a central processing unit (CPU), said apparatus monitoring the performance of said CPU by recording the occurrence of events resulting from the normal operation of said CPU, each event comprising an electric signal representing the incidence of a particular activity within said IC, said apparatus comprising: first and second programmable counters operated synchronously for recording first and second selected events respectively; logic circuitry for coupling said first and second selected events to said first and second programmable counters, respectively; a control register coupled to said logic circuitry for selecting said first and second selected events; and a means for accessing said counters.
Claim 24
Independent Claim 112 words
An apparatus incorporated in an integrated circuit (IC) which includes a central processing unit (CPU), said apparatus monitoring the performance of said CPU by recording the occurrence of events resulting from the normal operation of said CPU, each event comprising an electric signal representing the incidence of a particular activity within said IC, said apparatus comprising: first and second programmable counters operated synchronously for recording first and second selected events respectively; logic circuitry for coupling said first and second selected events to said first and second programmable counters, respectively; a control register coupled to said logic circuitry for selecting said first and second selected events; and a means for accessing said counters.
Claim 25
Dependent Claim 19 words
The apparatus of claim 21 wherein said logic circuitry comprises a multiplexer coupled to receive a plurality of events.
Claim 26
Dependent Claim 26 words
The apparatus of claim 22 further comprising a means for qualifying said events as to whether said CPU is operating in a supervisor or application mode.

References Cited (Backward Citations)

US4329640A Cited
US4433413A Cited
US4651298A Cited
US5115502A Cited
US4635261A Cited
US5051944A Cited
US5109503A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2000-08-11 2001-02-10 2001-08-12 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2004-08-11 2005-02-10 2005-08-12 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2008-08-11 2009-02-10 2009-08-12 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag