摘要 |
In order to determine the power consumption of a program executed by the central processing unit of a digital signal processor, the power consumption associated with each of the component activities is determined. These power consumption values are stored and indexed by the associated activity. A program is then executed. The activities implementing the program are identified by trace signals and a trace unit, the trace unit analyzing the trace signals. The activities implementing the program are stored in a memory log. The activities stored in the log can then be used to reference the stored power consumption values. In this manner, the total power consumption for the program can be determined. The component power consumption values for activities resulting from the execution of the program can be used to improve the power efficiency of the digital signal processor. |