Apparatus and method for fine grain user mode control for reading performance monitor counters
AssigneeIntel Corporation
InventorsAndreas Kleen, Ahmad Yasin, Moshe Cohen
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsAndreas Kleen, Ahmad Yasin, Moshe Cohen
Estimating the term…
An apparatus for managing access to performance counters. one embodiment of a processor comprises: a plurality of cores to execute first program code at a first privilege level and second program code at a second privilege level higher than the first privilege level, a core of the plurality of cores comprising: performance monitoring circuitry including a plurality of performance counter control registers to indicate events to be counted by a corresponding plurality of performance counters; and a processor control register to store a global control value to indicate whether the first program code is permitted to read values from the corresponding plurality of performance counters; wherein each performance counter control register is to store a per-counter control value to indicate whether the first program code executed at the first privilege level is permitted to read a corresponding value from a respective performance counter, regardless of the global control value.
A processor, comprising:
A method, comprising:
A machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform the operations of:
Dependencies are inferred from the claim text.