Method and apparatus for performing on-chip measurement on a component
AssigneeSun Microsystems, Inc.
InventorPeter Arnold Mehring
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorPeter Arnold Mehring
Estimating the term…
The system of the present invention includes programmable logic to generate watchpoint traps which cause a branch to determined trap code and breakpoint signals which cause the stopping of the system dock. Furthermore, the system can measure system performance criteria. The logic is flexible and easy to program, but sophisticated in application to provide a variety of criteria that trigger on events which in turn increment the counters. In the preferred embodiment, the system includes two counters and trigger decode logic to increment the counters. Each counter is independently programmable to enable the user to determine such performance information as average latency, which is a combination of one counter counting the number of occurrences of a particular event and a second counter counting the duration of the events. Both counters can be programmed to measure on edges or levels of signals. In addition, the triggers can be used in a cascaded structure, wherein the first counter is used to generate a trigger which may be further qualified by the second counter. Using this implementation, a more flexible counting strategy is provided. Furthermore, by using the two counters in a cascaded fashion, the occurrence on one type of event can be used to monitor the occurrence of a second type of event in order to determine the occurrence of a combination of events. In addition, both watchpoint traps and breakpoint signals can be generated based upon the occurrence of a variety of events internal to the component and not easily accessible during execution by the user.
In an integrated component located on a chip, said integrated component comprising a processor and an apparatus for detecting events which occur on the integrated component, said apparatus for detecting events comprising:
In an integrated component located on a chip, said integrated component comprising a processor and an apparatus for detecting events which occur on the integrated component, said apparatus for detecting events comprising:
In an integrated component comprising a processor, said integrated component located on a chip a method executed on the integrated component for detecting events which occur on the integrated component comprising the step of:
In an integrated component comprising a processor, said integrated component located on a chip, a method executed on the integrated component for detecting events which occur on the integrated component comprising the steps of:
In an integrated component comprising a processor, said integrated component located on a chip, a method executed on the integrated component for detecting events which occur on the integrated component comprising the steps of:
In an integrated component comprising a processor, said integrated component located on a chip, a method executed on the integrated component for detecting events which occur on the integrated component comprising the steps of:
Dependencies are inferred from the claim text.
Drawings are temporarily unavailable. Open the PDF at USPTO
From the US filing history. Foreign family members aren’t listed.
Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of…:…
Performance evaluation by tracing or monitoring: circuit details, i.e. tracer hardware
Indexing scheme relating to error detection, to error correction, and to monitoring: event-based monitoring
Indexing scheme relating to error detection, to error correction, and to monitoring: monitoring involving counting
Term ended 22 Oct 2013 (estimated)
USPTO file history isn’t available for this patent, so only indexed dates are shown.
1. Field of the Invention
The present invention relates to the measurement of performance of computer systems. More particularly, the present invention relates to the measurement of performance of operation of high speed, highly integrated processors.
2. Art Background
The objects, features and advantages of the present invention will be apparent to one skilled in the art from the following detailed description in which:
FIG. 1a is a block diagram illustration of the debug and performance monitoring logic of the present invention and FIG. 1b is a block diagram illustrating exemplary logic to operate the triggers in a cascade mode utilized in one embodiment of the present invention.
FIG. 2 is a block diagram illustrating the trigger decode logic utilized in the logic of the present invention.
In the following description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. In other instances, electrical structures and circuits are shown in block diagram form in order not to obscure the present invention unnecessarily.
The system and method of the present invention provides a flexible and sophisticated counting mechanism for monitoring events which occur in a highly integrated electrical component, such as a processor component. A block diagram of one embodiment of the logic of the present invention is shown in FIG. 1a. Trigger decode logic 10 receives as input the events which may, depending upon the programmed state of the trigger decode logic, generate an output trigger to increment the values store in the counters registers 20, 60. In the present embodiment, the trigger decode logic includes logic to generate a first trigger, Trigger A, and a second trigger, Trigger B. As will be explained subsequently, these triggers can be used in combination with one another to provide average measurement as well as cascaded or dual measurements.
The counter logic further includes the counter A register 20 and a multiplexor 25, to select, based upon the trigger A input, whether the counter is to be updated with an incremented value, or be maintained at its current value. In order to determine when the counter register 20 has reached its counted value, it is preferred that the counter register 20 is initially loaded through write.sub.-- select multiplexor 30 with a negative value (e.g., 2's complement) of the count that the register is to achieve prior to generating an output signal indicative of a certain state of the component. Thus, the output signal is simply an overflow of the counter register. This output signal is subsequently output to generate watchpoint triggers and breakpoint triggers for software and hardware debug processing.