Patent ID: 11948018
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for changing the monitoring of a first event to a second different event in a data processing system comprising a processor and a memory that is not local to the processor, wherein the processor has one or more processor cores and a general-processing-engine that is not part of the one or more processing cores, the method comprising:
monitoring, using the general-processing-engine, the first event by a counter on the processor;
determining whether a change in the monitoring of the first event to the second different event has been requested;
copying, in response to a request to change the monitoring of the first event to the second different event, op-codes from memory into microcode executable by the general-processing-engine;
executing the op-codes from memory by the general-processing-engine to change the first event monitored by the counter on the processor to the second different event; and
monitoring, using the general-processing-engine, the second different event by the same counter on the processor that monitored the first event.