Patent ID: 8589926

Claim:
A computer implemented method for adjusting processor utilization data stored in a computer memory in a polling environment, the computer implemented method comprising: receiving, by a processor in a data processing system, from a polling application executing in the data processing system, a first amount of a computing resource consumed during polling performed by the polling application over a predetermined period, wherein the polling is a poll for an event, wherein the polling application is configured to determine a time when the first amount is to be provided to the processor and to provide the first amount to the processor at the time; computing, by the processor, using the first amount over the predetermined period, a polling amount of the computing resource over a utilization interval, wherein the polling amount of the computing resource is an amount of a computing resource consumed during polling performed by the polling application over the utilization interval; determining, by the processor, a second amount of the computing resource consumed for performing meaningful task by subtracting the polling amount of the computing resource from an amount of the computing resource consumed in processing tasks other than idle tasks over the utilization interval, the second amount forming a work amount of the computing resource consumed during the utilization interval; computing, by the processor, using a ratio of the work amount of the computing resource consumed during the utilization interval and a total amount of the computing resource consumed during the utilization interval, an adjusted utilization of the computing resource over the utilization interval; and saving the adjusted utilization in the computer memory.