Design and Implementation of an Improved C Source-Code Level Program Energy Model

In embedded systems, the frequent execution of software drives the activities of hardware, which causes the energy consumption of systems. In this paper, we first propose an improved C source-level code program energy model by considering the energy consumption of instruction fetching phase, in which a accurate energy algorithm is used. Then, we implement a method to dynamically calculate the run-time energy consumption between program breakpoints through GDB. The simulation experiment results show that, at the same condition, we can obtain the more accurate energy consumption values between program breakpoints flexibly through GDB, and this provides some conveniences for us to optimize the program energy consumption in the future.

[1]  Luca Benini,et al.  Cycle-accurate simulation of energy consumption in embedded systems , 1999, DAC '99.

[2]  Niraj K. Jha,et al.  Energy macromodeling of embedded operating systems , 2005, TECS.

[3]  Niraj K. Jha,et al.  EMSIM: an energy simulation framework for an embedded operating system , 2002, 2002 IEEE International Symposium on Circuits and Systems. Proceedings (Cat. No.02CH37353).

[4]  Niraj K. Jha,et al.  High-level energy macromodeling of embedded software , 2002, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[5]  Dianhui Wang,et al.  A Hopfield neural network approach for power optimization of real-time operating systems , 2006, Neural Computing and Applications.

[6]  Niraj K. Jha,et al.  An Energy-Aware Synthesis Methodology for OS-Driven Multi-Process Embedded Software , 2004, ESA/VLSI.

[7]  Jason Flinn,et al.  Power and Energy Characterization of the Itsy Pocket Computer (Version 1.5) , 2000 .

[8]  Niraj K. Jha,et al.  Embedded operating system energy analysis and macro-modeling , 2002, Proceedings. IEEE International Conference on Computer Design: VLSI in Computers and Processors.