Patent attributes
Adjusting an operating frequency of a CPU includes setting the operating frequency for a current operating cycle based on a CPU load in a prior operating cycle and a target CPU load. A current CPU load associated with the current processing cycle is detected. The CPU operating frequency is adjusted to a new operating frequency based on a difference between the target CPU load and the current CPU load. The operating frequency is adjusted based on minimizing the difference between the target CPU load and the detected load. A CPU load error is determined based on the current CPU load and the target CPU load. The target CPU load is adjusted based on the determined CPU load error and a threshold load error. A prediction is generated on whether to perform a new adjustment of the operating frequency of the CPU prior to expiration of a threshold time duration.