Research and realization of dynamic performance analysis of code in the embedded environment

Author
CuiJuanNa
Advisor
ChenWenYu
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2011
Downloads
12
Citations
0

Request the full text

Abstract

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.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter Introduction 10-14 1.1 subject background 10-11 < br /> 1.2 the related research work 11-12 1.3 subject source 12 1.4 thesis research content and outcome of 12-13 1.4.1 thesis research 12-13 the 1.4.2 thesis is research 13 1.5 arrangement of the chapters 13-14 Chapter embedded systems technology and related technology 14-26 2.1 embedded systems Overview 14-16 2.1.1 embedded system definition is 14 <br / > 2.1.2 the characteristics of embedded systems 14-15 2.1.3 Embedded systems development trends 15-16 2.2 embedded systems, cross-development platform 16-17 2.3 program cartridge Introduction 17-18 2.4 application performance analysis technology 18-20 2.4.1 program analysis 18 2.4.2 program performance analysis 18-20 2.5 ELF files formats 20-23 2.5.1 Object File Format 20-21 2.5.2 ELF header and section of district head briefly 21-22 2.5.3 ELF files in the GOT (global offset table) and PLT (procedure linkage table) 22-23 2.6 several common performance testing software 23-25 ?? 2.6.1 Compile-time Instrumentation the Tools (CITs).; 23 2.6. 2 analysis Gprof 23-24 2.6.3 Ltrace analysis is 24-25 2.7 Summary 25-26 ECLIPSE related technologies 26-32 3.1 the ECLIPSE platform Overview 26-27 3.2 ECLIPSE architecture 27-29 3.3 ECLIPSE plug-in development 29 -31 3.4 of this chapter Summary 31-32 Chapter IV code for dynamic performance analysis of system design and implementation 32-67 4.1 system, the overall structure of 32-34 4.1.1 parser, the overall structure of 32-33 4.1.2 parser internal workflow 33-34 4.2 target on daemon (DAEMON) design and 34-37 4.2.1 daemon description 35 4.2.2 guardian of the data structure in the program description 35-36 4.2.3 daemon function description 36-37 4.3 glue code design and 37-50 4.3.1 functions Cartridge Description 38-40 4.3.2 jump table (_JUMP_TABLE) 40-48 4.3.3 glue code function 48-49 4.3.4 the implementation process of the jump table 49-50 4.4 stub code - performance data acquisition design description 50-57 4.4.1 pile of code data structures 50 -52 4.4.2 pile code 52-54 4.4.3 pile of code timing algorithm 54-57 4.5 The objective function, the pile code and glue code combined with the logical flow 57 4.6 Automatic cartridge to achieve - to analyze the target program generated 57-61 4.7 communication module design 61-62 4.8 profiling startup module is designed 62-64 4.9 user interface design 64-65 4.10 Summary 65-67 <br / the fifth chapter of the experiment and test analysis 67-72 5.1 target function executes when the timing error analysis 67-68 5.1.1 error on the timing of the objective function in the module analysis 67 5.1.2 objective function for the error analysis when the timing of the library functions 67-68 5.1.3 profiler source code 68 5.2 test comparison 68-70 5.3 code coverage testing 70-71 5.4 Summary 71-72 sixth Chapter Summary and Outlook 72-73 6.1 summarize 72 6.2 Looking 72-73 thank 73-74 <br / Reference 74-77

Related dissertations

  1. Analysis of reverse engineering and software properties based on Instrumentation Technology
  2. The Follow-up Study and Performance Analysis of Rural Credit Union Funds
  3. The Empirical Analysis of the E-banking Performance of Commercial Banks Based on DEA
    LiLing ·Anhui University ·2014 ·Master's thesis
  4. Research of Training Requirement Analysis at CJ Company
    LiXiangLiang ·Northwestern University ·2013 ·Master's thesis
  5. The Case Study on Hongda High-tech Acquiring Baijin
  6. Research on the Shareholding Cooperative System Reform of Rural Collective Assets of Lin’an City
    FanQingQing ·Zhejiang Forestry University ·2013 ·Master's thesis
  7. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  8. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  9. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  10. Video Surveillance System Based on Embedded Technology Research
  11. Design of Video Monitoring System Based on the Embedded
  12. The Design of Embedded Network Video Surveillance System Based on ARM9
  13. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  14. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  15. Data Acquisition System of Cavern Based on Embedded Web Server
  16. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  17. Research on the Indoor Air Monitoring System Based on Embedded Linux
  18. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  19. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  20. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis