Font Size: a A A

Research And Design On C Language Oriented Embedded Software Energy Estimation Method

Posted on:2015-05-23Degree:MasterType:Thesis
Country:ChinaCandidate:X HaoFull Text:PDF
GTID:2308330482455993Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Early research of the embedded systems usually focused on the performance, reliability and real-time. But in recent years with the rapid development of embedded systems, the frequency and integration of embedded systems have improved a lot. The use of embedded devices, especially the mobile embedded devices, has brought a new problem for the designers of the embedded systems:how to effectively reduce the energy consumption of embedded systems to extend the batter lifetime of the embedded device. Embedded system consists of two parts that are hardware energy consumption and software energy consumption. With the maturing of hardware energy consumption analysis technology, software energy consumption gradually becomes the main direction of energy consumption of embedded system research. However, the study of software energy consumption analysis and optimization technology is based on the software energy estimated. At present, there are a lot methods about embedded software energy estimated, but most of them are the energy consumption analysis on the bottom of the system software. And the source-code level software energy consumption estimation that software developers can directly contact is relatively rare. For this purpose, this thesis designs a C language oriented embedded software energy estimated method.This thesis firstly summarizes hardware and software energy consumption analyzing methods for the embedded system hardware and software, and find out the entry point of research about the source-code level software energy consumption estimation. On the basis of the analysis of the circuit level energy estimation method and the existing software estimation method, this thesis designs a source-code level software energy estimated method. It can be found that the C language source program can be disassembled into assembly instruction to analyze, and there is a certain quantitative relationship between the energy consumption of the assembly instruction and clock cycles during executing. This thesis establishes a source code level software analysis model of energy consumption. Considering CPU usage during the source code running, as long as to calculate the C language source code execution on the number of CPU clock cycles required, you can get energy consumption of the source code execution with the determined quantitative relationship. According to the C language source program into four basic structures, which are sequence structure, choice structure, loop structure and function call structure, this thesis respectively analyzes the energy consumption and gives their energy consumption estimation processes. At then on the basis of combining four basic structure estimation methods, it can get the process of C language application energy estimated by collecting them togetherFinally, using C language source code level energy estimated method on the clock cycles which is designed in this thesis respectively estimates the energy consumption of C language basic statements and applications. And the results compare with the energy consumption value which is obtained by simulation experiment. It proves the method’s validity and feasibility. At the same time, through the analysis of the statements and algorithm which have the same function and different codes, it is further verified the feasibility and practical of the method which designed in this thesis.
Keywords/Search Tags:C language, Embedded Software, Energy consumption, Source code, Clock cycle
PDF Full Text Request
Related items