Patent ID: 7644298

Claim:
A processor, comprising: a clock signal generator generating clock signals; an operational processor performing data processing which is divided into a plurality of execution units, in accordance with the clock signals; a storage means for storing data per each execution unit, the execution unit being executed by the operational processor as a unit; a data amount detector detecting amounts of the data stored in the storage means per each execution unit; a clock frequency determining means for determining a new clock frequency of the clock signals by using the amounts of the data, said clock signals being supplied newly to the operational processor, the clock frequency determining means for including a table indicating the relation between the amounts of the data detected by the data amount detector and the variation of the clock frequency, a clock frequency holder holding a practical current clock frequency supplied to the operational processor, and an adder adding to the current clock frequency the variation obtained from the table, the clock frequency determining means determining newly the output value of the adder as the clock frequency of the clock signals; an execution status detector detecting whether a certain execution unit becomes the predetermined state or not; a timer newly starting the clocking when the execution status detector detects that the execution unit has become the predetermined state; a clock frequency changing means for changing the clock frequency, the clock frequency changing means decreasing the absolute value of the variation according to the value of the timer, and an execution priority storage storing preliminary priorities which indicate the execution order of the execution units, wherein the adder adds to the current clock frequency the variation which is changed by the clock frequency changing means; and wherein the clock frequency determining means selects an execution unit having the lowest priority among the execution units, and determines the new clock frequency of the clock signals by using the amounts of the data associated with the execution units selected by the clock frequency determining means.