摘要 |
PROBLEM TO BE SOLVED: To provide a method and device for measuring the consumed power of any ventral processing unit with a program under execution. SOLUTION: Using a trace component, the input signal, output signal and interrupt conditions for each clock cycle are decided for measuring the consumed power of the central processing unit 21 with the program under execution. The decided input signal and output signal are applied to a simulation model 26 of a central processing system, and the condition of the central processing unit 21 at each clock cycle is decided. The simulation model 26 is used to decide the power consumption in each condition. The information about the condition progress of the central processing unit is combined with the power consumption of the central processing unit 21, and the power consumption of the central processing unit 21 is decided as a function of the program execution. Through comparison of the power consumption with that program part which is under execution, the program is adjusted so as to decrease the requisite power while the program is under execution. COPYRIGHT: (C)2003,JPO
|