Patent ID: 7904912
Filing Date: 2011-03-08
Classification: G06F

Abstract:
1. A computer implemented method for identifying processor utilization, the computer implemented method comprising: detecting a current event, wherein the event is indicated using an interrupt, wherein the interrupt is one of a processor generated interrupt and an operating system generated interrupt; responsive to detecting the current event, identifying a number of elapsed cycles for a processor since a previous event; further responsive to detecting the current event, identifying a state of the processor using the current event and the previous event; responsive to detecting the current event being a change of the current frequency of the processor to zero, storing a current time to form a stored time; calculating an elapsed time using the number of elapsed cycles and a current frequency of the processor, wherein responsive to detecting the current event being a change of the current frequency of the processor from zero to a new frequency, calculating the elapsed time using the stored time and the current time wherein the elapsed time is used to identify the processor utilization; and associating the state with the elapsed time.