Font Size: a A A

Research And Implementation Of Embedded Environment The Code Dynamic Performance Analysis

Posted on:2012-05-20Degree:MasterType:Thesis
Country:ChinaCandidate:J N CuiFull Text:PDF
GTID:2208330335496776Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of computer and the improvement of peple's living standards,the embedded field has been rapid development.Embedded software development encounters unprecedented challenges,therefore,embedded development tools which are easy to use and have rich function are very important. And it will greatly improve the efficiency of application developers.This thesis mainly research on dynamic performance analysis of code in Embedded Environment,performance analysis can help program developers identify performance bottlenecks,understand the act of procedure,so that programmers have a clear direction of optimization which program needs.Firstly, this thesis studies on embedded system,the cross-development platform of embedded,a number of techniques which associate with embedded system and procedures related to performance analysis tools;then it analyzes the development mechanism of Eclipse,described Eclipse as a powerful embedded development tools;after that it introducts the design and implementation of the system ;finally it makes a test summary for the project.Research on dynamic performance analysis of code in Embedded Environment, this thesis proposes static instrumentation on ELF executable file , Instrumentation in software debugging and performance analysis of programs most commonly used mechanism to modify the code,while static instrumentation is a dynamic analysis program method and strategy to achieve the analyzing,it is the object of the instumentation and stages are combined. The instrumentation in this paper is to generate target code of the binary code.The timing of this project is to use the algorithm of slic timing to get the time of the functions which are executed,and the algorithm supports multi-threading. slic timing calculate the time when objective function calls functions or functions return,the time which is calculated may be the total execution time or it could be part of the total execution time. Through re-linking the ELF format executable file of source, glud code and post code to generate an executable file which can be run on the target machine to get the data for performance collection.The tool can analyze the user function and the embedded library function on exection time, calling times and user code executon coverage,which are delivered to host machine Eclipse by communication module and can be graphical displayed the running situation to user. Through analysis and comparison, this method performs faster than the existing statistical tools, and higher accuracy. Because instrumentation and timing programs in the subject run only on the user level to time without access to the system, so greatly reducing overhead.The tool of the research and the project implementation will ultimate help the user who develops the embedded software for performance analysis of its procedures to improve efficiency of software development.
Keywords/Search Tags:embedded system, Eclipse, dynamic analysis, performance analysis
PDF Full Text Request
Related items