Patent ID: 8495339

Claim:
A non-transitory computer-readable recording medium storing therein a dynamic-reconfiguration support program that causes a computer controlling a dynamically reconfigurable circuit comprising a plurality of rewritable processor elements to execute: acquiring information concerning a first task that is under execution by the dynamically reconfigurable circuit, and from the dynamically reconfigurable circuit, information concerning remaining power of a battery that drives the dynamically reconfigurable circuit and power consumption information of the dynamically reconfigurable circuit; reading an execution completion time of the first task, when the information concerning the first task is acquired at the acquiring, the execution completion time being read from a memory storing therein a sequence of tasks to be executed by the dynamically reconfigurable circuit, an execution completion time for each of the tasks, and scheduling information including a quantity of processor elements to be used for each of the tasks; calculating, using the execution completion time for the first task read at the reading, a deadline time that is a time after which a second task is started by the dynamically reconfigurable circuit; identifying, by referring to the quantity of processor elements to be used for each of the tasks included in the scheduling information, the quantity of the processor elements that are for the second task and are to be rewritten by the deadline time calculated at the calculating; calculating an estimated value of remaining power of the battery up to the deadline time, using the information concerning the remaining power and the scheduling information acquired at the acquiring; calculating a threshold value function expressing temporal variation of a threshold indicative of consumable power for the dynamically reconfigurable circuit by substituting, at each predetermined time period, the power consumption information for the estimated value calculated at the calculating of the estimated value; calculating the quantity of the processor elements to be rewritten per unit time by dividing the quantity of the processor elements identified at the identifying, into a quantity rewritable at a power consumption equal to or less than a value of the threshold value function for each unit time; and causing the dynamically configurable circuit to execute, in the quantity per unit time calculated at the calculating of the quantity, rewriting of the processor elements that are for the second task and are to be rewritten by the deadline time.