The processing apparatus in the present invention is a processing
apparatus which executes a program and performs processes of the program,
and includes the following: an execution circuit having a plurality of
operation modes, each of which has a different effect on the processing
performance and the power consumption of the processing apparatus; a
measurement unit operable to measure at least one of a process execution
performance and an execution power consumption of the processor circuit;
and a control unit operable to compare a target value and a measurement
result from the measurement unit, and to switch the operation modes in
accordance to a result of the comparison.