Weighted event counting system and method for processor performance measurements
First Claim
1. A method of determining a performance level of a processor, comprising:
- receiving a plurality of event signals from functional units within said processor corresponding to differing events within said processor;
updating a performance counter in conformity with a totality of said plurality of event signals, wherein said updating assigns differing weights to at least two of said plurality of event signals, whereby a latency between accumulation of performance metrics corresponding to said events is reduced and said events are further separately weighted according to their correlation to performance of said processor; and
reading said performance counter at periodic intervals to obtain a performance count.
1 Assignment
0 Petitions
Accused Products
Abstract
A weighted event counting system and method for processor performance measurements provides low latency and low error performance measurement capability. A weighted performance counter accumulates a performance count according to a plurality of event signals provided from functional units in the processor. Differing weights are applied to the event signals in according to the correlation between each event with processor performance. The weights may be provided from programmable registers, so that the weights can be adjusted under program control. The event signals may be combined to reduce the bit-width of the set of event signal, with mutually-exclusive events merged in single fields of the combinatorial result and events having the same weights merged according to a sub-total. The weights are applied to the combinatorial result and used to update a performance count. The performance count can then be used by power management software or hardware to make adjustments in operating parameters of the processor.
-
Citations
7 Claims
-
1. A method of determining a performance level of a processor, comprising:
-
receiving a plurality of event signals from functional units within said processor corresponding to differing events within said processor; updating a performance counter in conformity with a totality of said plurality of event signals, wherein said updating assigns differing weights to at least two of said plurality of event signals, whereby a latency between accumulation of performance metrics corresponding to said events is reduced and said events are further separately weighted according to their correlation to performance of said processor; and reading said performance counter at periodic intervals to obtain a performance count. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification