首页> 中文期刊> 《计算机学报》 >程序执行的精确重现技术及其在体系结构模拟中的应用

程序执行的精确重现技术及其在体系结构模拟中的应用

         

摘要

近年来有研究提出利用动态二进制翻译技术(Dynamic Binary Translation,DBT)加速程序代表性模拟点的提取,然而这些研究并未考虑DBT方法对模拟结果准确度的影响.实验发现,对于某些程序,DBT加速方法会带来将近20%的误差.经分析,误差的根源在于程序在DBT执行和模拟执行时执行踪迹有巨大差异,即程序执行踪迹的不可重现性.本文系统地分析了引起程序执行踪迹不可重现的原因,提出了解决方法.实验证实,利用文中提出的方法,可以在不影响性能的情况下,实现程序执行踪迹的精确重现,从而保证DBT方法与传统模拟方法具有完全相同的精确度.%Recently, dynamic binary translation (DBT) technique has been proposed to accelerate the extraction of representative simulation points of programs. However, the accuracy implications of the DBT method have not been studied. It is observed that for some programs, the DBT method can incur a nearly 20% error in the simulation results. Careful analysis shows that the error is caused by the mismatch between the execution traces of programs under DBT environment and simulation environment. The cause of the execution trace mismatch is studied carefully. Several methods are proposed to overcome the problem. Experimental results show that with the proposed methods, the execution traces of programs can be matched accurately between different execution environments. Therefore, the accuracy of the DBT method can be guaranteed.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号