Filtering of performance monitoring information
AssigneeIntel Corporation
InventorsStephen Junkins, Stephen H. Hunt
Life of this patent
Estimating the term…
Abstract
In one embodiment, the present invention includes a method for receiving a signal in a filter register of a performance monitor from an execution unit to enable a field of the filter register associated with a first thread when a filter enable instruction is executed during execution of code of the first thread, receiving a thread identifier and event information in the performance monitor from the execution unit, and determining if the thread that corresponds to the received thread identifier is enabled in the filter register and if so, storing the event information in a first counter of the performance monitor. Other embodiments are described and claimed.
Claims14
An apparatus comprising:
- a storage to store state information and an identity for a plurality of threads;
- and
- a performance monitor coupled to the storage, the performance monitor including a configuration register to store event information for events to be monitored, a plurality of counters to count occurrence of events associated with the event information, and a filter register having a plurality of fields each associated with one of the plurality of threads to indicate whether monitoring of events of the thread is enabled.
A method comprising:
- receiving a signal in a filter register of a performance monitor from an execution unit to enable a field of the filter register associated with a first thread when a filter enable instruction is executed in the execution unit during execution of code of the first thread;
- receiving a thread identifier and event information in the performance monitor from the execution unit;
- and
- determining if the thread that corresponds to the received thread identifier is enabled in the filter register and if so, storing the event information in a first counter of the performance monitor.
Dependencies are inferred from the claim text.