Patent ID: 8103857
Filing Date: 2012-01-24
Classification: G06F,Y02D

Abstract:
1. A microprocessor control apparatus for controlling an operating speed of a microprocessor which executes a program including instruction codes in which a deadline is specified for at least one instruction code, comprising: a state observing unit configured to observe an execution state of the program at a plurality of predetermined timings prior to execution of a deadline instruction code which is an instruction code for which the deadline is specified; a data storage unit configured to store prediction data of a remaining calculation amount that is required before execution of the deadline instruction code completes for each of a plurality of predefined execution states; a predicted calculation amount acquiring unit configured to acquire a remaining calculation amount corresponding to an observed execution state as a remaining predicted calculation amount from the prediction data; a remaining time calculating unit configured to calculate a remaining time until the deadline of the deadline instruction code; an operating speed calculating unit configured to calculate a minimum operation speed of the microprocessor that is required to process the remaining predicted calculation amount within the remaining time; a controlling unit configured to control the microprocessor to operate at the minimum operating speed or higher, wherein the instruction codes includes two or more deadline instruction codes; the operating speed calculating unit calculates the minimum operating speed for each of the deadline instruction codes; and the controlling unit controls the microprocessor to operate at an operating speed or higher that is highest among the minimum operating speeds calculated for the deadline instruction codes, wherein the instruction codes includes a branch instruction code; the prediction data contains an execution probability at which each of the deadline instruction codes is executed for each of the predefined execution states; and the controlling unit controls the microprocessor to operate at an operating speed or higher that is highest among minimum operating speeds that are calculated for deadline instruction codes having an execution probability equal to or greater than a threshold value.