摘要: 针对现有技术难以全面及精确地分析程序循环特性的不足,提出一种程序循环级性能分析的方法。该方法采用动态反馈的编译优化技术,并结合静态分析的部分方法,无需硬件架构的支持,适用范围广。测试结果证明该方法能够对程序的循环部分进行精确分析,帮助程序员找出循环级热点,辅助进行相应的手工优化。
关键词:
反馈式编译,
循环级特性,
性能分析,
Open64编译器,
剖面信息
Abstract: Aiming at the difficulty to complete and accurate analyse loop-level performance using current procedure technique, this paper proposes a method for procedure loop-level performance analysis. The method uses a feedback-directed compiling optimization technique, combined with some static analysis methods, without the support of hardware architecture, wide range of applications. Experimental result manifests that the method can complete accurate loop-level performance analysis, help the programmers finding the hot-spot and carrying out hand optimization.
Key words:
feedback-directed compiling,
loop-level characteristic,
performance analysis,
Open64 complier,
profiling information
中图分类号:
郝云龙, 赵荣彩, 侯永生, 朱嘉风. 反馈式编译在循环级性能分析中的应用[J]. 计算机工程, 2011, 37(9): 32-34.
HAO Yun-Long, DIAO Rong-Cai, HOU Yong-Sheng, SHU Jia-Feng. Application of Feedback-directed Compiling in Loop-level Performance Analysis[J]. Computer Engineering, 2011, 37(9): 32-34.