论文部分内容阅读
通过对当前业界常见软件性能分析方法和常用性能分析工具技术特点的分析,根据嵌入式系统交叉开发方法的特点,以GNU性能分析工具gprof为切入点,针对其在性能数据采集和处理方面的不足,设计并实现一个面向嵌入式领域交叉开发环境的嵌入式性能分析工具Cross-Profiler。该工具能够针对以GCC作为交叉编译器,运行在嵌入式交叉环境下的应用软件进行性能分析,统计软件中各函数的执行时间、被调用次数、调用关系链以及执行过程中的函数堆栈开销等性能信息,从而有效帮助定位嵌入式软件的执行热点与性能瓶颈,为改善软件性能提供依据。同时,对Cross-Profiler的处理结果进行了可视化的输出设计,增强了易用性、可移植性和扩展性。
Based on the analysis of common software performance analysis methods and common performance analysis tools in the industry, according to the characteristics of embedded system cross-development method and Gpr performance analysis tool gprof as the starting point, in view of its lack of performance data acquisition and processing , Designed and implemented Cross-Profiler, an embedded performance analysis tool for cross-development environment in embedded field. The tool can analyze the performance of applications running under embedded cross-environment based on GCC as cross-compiler, and calculate the execution time of each function in the software, the number of times of invocation, the chain of invocation relationship and the function stack overhead in the execution process Performance information, which can effectively help locate the implementation of embedded software hot spots and performance bottlenecks, to provide a basis for improving software performance. At the same time, the output of Cross-Profiler was visualized and the output was designed to enhance the usability, portability and scalability.