Debug apparatus and recording medium
AssigneeRenesas Electronics Corporation
InventorsTomoyoshi Ujii, Yuki Mori, Kazunori Ochiai
Life of this patent
Estimating the term…
Abstract
A debug apparatus for performing allocation of target programs in which temperature is uniformized is provided. The debug apparatus receives temperature data measured by temperature sensors from a semiconductor device. The debug apparatus determines, as an analysis result of the temperature data, a CPU where the number of target programs executed is to be decreased and a CPU where the number of target programs executed is to be increased. The debug apparatus changes allocation of the target programs executed by a plurality of CPUs in the semiconductor device based on the analysis result of the temperature data.
Claims17
A debug apparatus for debugging target programs including a plurality of programs operating in a semiconductor device including a plurality of Central Processing Units (CPUs) and a plurality of temperature sensors, the debug apparatus comprising:
- a processor;
- and
- a memory configured to store a control program, CPU position information, temperature sensor position information, CPU type information, and target program constraint information,
- wherein the plurality of CPUs is configured to execute the target programs,
- wherein, while the target programs are executed by the plurality of CPUs, the plurality of temperature sensors is configured to measure temperature of the semiconductor device,
- wherein the CPU position information comprises information for identifying a position of the plurality of CPUs in the semiconductor device,
- wherein the temperature sensors position information comprises information for identifying a position of the plurality of temperature sensors in the semiconductor device,
- wherein the CPU type information comprises information for identifying a type of the plurality of CPUs,
- wherein the target program constraint information comprises information used in determining whether to change allocation of the target programs executed by the plurality of CPUs,
- wherein, when executed by the processor, the control program causes the debug apparatus to:
- instruct the semiconductor device to execute the target programs;
- acquire a plurality of temperature data measured by the plurality of temperature sensors;
- determine, from the plurality of CPUs, at least one CPU where a number of target programs executed is to be decreased, as a first change target CPU and at least one CPU where the number of target programs executed is to be increased, as a second change target CPU, based on the plurality of temperature data, the CPU position information, and the temperature sensor position information;
- and
- change the allocation of the target programs executed by the plurality of CPUs based on the first change target CPU, the second change target CPU, the CPU type information, and the target program constraint information.
A debug apparatus for debugging target programs including a plurality of programs operating in a semiconductor device including a plurality of Central Processing Units (CPUs) and a plurality of temperature sensors, the debug apparatus comprising:
- wherein the plurality of CPUs is configured to execute the target programs,
- wherein, while the target programs are executed by the plurality of CPUs, the plurality of temperature sensors is configured to measure temperature of the semiconductor device,
- wherein the debug apparatus comprises:
- an information storage unit configured to store CPU position information, temperature sensor position information, CPU type information, and target program constraint information;
- a debug control unit configured to instruct the semiconductor device to execute the target programs;
- a temperature measurement control unit configured to acquire a plurality of temperature data measured by the plurality of temperature sensors;
- a temperature data analysis unit configured to determine, from the plurality of CPUs, at least one CPU where a number of target programs executed is to be decreased, as a first change target CPU and at least one CPU where the number of target programs executed is to be increased, as a second change target CPU, based on the plurality of temperature data, the CPU position information, and the temperature sensor position information;
- and
- a program allocation unit configured to change allocation of the target programs executed by the plurality of CPUs based on the first change target CPU, the second change target CPU, the CPU type information, and the target program constraint information,
- wherein the CPU position information comprises information for identifying a position of the plurality of CPUs in the semiconductor device,
- wherein the temperature sensors position information comprises information for identifying a position of the plurality of temperature sensors in the semiconductor device,
- wherein the CPU type information comprises information for identifying a type of the plurality of CPUs, and
- wherein the target program constraint information comprises information used in determining whether to change the allocation of the target programs executed by the plurality of CPUs.
A non-transitory computer-readable recording medium that stores a program to be executed in a debug apparatus that includes a processor and a memory, and debugs target programs including a plurality of programs operating in a semiconductor device including a plurality of Central Processing Units (CPUs) and a plurality of temperature sensors, the memory storing CPU position information, temperature sensor position information, CPU type information, and target program constraint information, the plurality of CPUs executing the target programs, the plurality of temperature sensors measuring temperature of the semiconductor device during execution of the target programs, the program performing a method comprising:
- instructing the semiconductor device to execute the target programs;
- acquiring a plurality of temperature data measured by the plurality of temperature sensors;
- determining, from the plurality of CPUs, at least one CPU where a number of target programs executed is to be decreased, as a first change target CPU and at least one CPU where the number of target programs executed is to be increased, as a second change target CPU, based on the plurality of temperature data, the CPU position information, and the temperature sensor position information;
- and
- changing allocation of the target programs executed by the plurality of CPUs based on the first change target CPU, the second change target CPU, the CPU type information, and the target program constraint information,
- wherein the CPU position information comprises information for identifying a position of the plurality of CPUs in the semiconductor device,
- wherein the temperature sensors position information comprises information for identifying a position of the plurality of temperature sensors in the semiconductor device,
- wherein the CPU type information comprises information for identifying a type of the plurality of CPUs, and
- wherein the target program constraint information comprises information used in determining whether to change the allocation of the target programs executed by the plurality of CPUs.
Dependencies are inferred from the claim text.