摘要
代码剖析是分析程序行为和发现性能瓶颈的重要手段。根据可重配置处理器的定制指令设计需要,提出了一种基于虚拟机技术的代码剖析方法AID-prof。该方法的优势在于结构无关以及静态\动态分析的无缝契合。基于AID-prof,设计了一种自动化的定制指令识别过程CID。实验显示,AID-prof可有效地发掘程序热点,并且示例程序通过CID产生的定制指令获得明显加速。
Code profiling is a key technique for application behavior analysis and bottlenecks discovery. According to the requirement of designing custom instructions for reconfigurable processors, AID-prof, a novel profiling method based on virtual machine was presented. The benefits of the presented method are architecture-independent and close combination between static and dynamic analysis. Based on AID-prof, an automatic custom instructions identification procedure named CID was proposed. Experiments results show that AID-prof can discover application hot spots effectively, and custom instructions identified by CID can markedly speed up application execution.
出处
《计算机科学》
CSCD
北大核心
2010年第3期144-148,共5页
Computer Science
基金
国家863高技术研究发展计划项目(2007AA01Z2b3)
国家973重点基础研究发展计划前期研究专项项目(2007CB310608)资助
关键词
可重配置处理器
定制指令
识别
代码剖析
虚拟机
Reconfigurable processors, Custom instructions, Identification, Code profiling, Virtual machine