首页> 中文期刊> 《计算机工程与应用》 >基于QEMU的CPU指令频度分析

基于QEMU的CPU指令频度分析

         

摘要

采集计算机在不同应用环境下的指令流,并对计算机各个指令使用的频度进行统计,对CPU指令设计和优化有指导意义.针对现有指令频度统计方法存在的跟踪效率低、获取速度慢等问题,提出一种新的指令频度分析方法.该方法的核心思想是在QEMU模拟器上执行用户行为脚本,利用QEMU插件获取CPU执行的指令流,并利用基于块的统计优化性能.实验结果表明,该方法可跟踪并获取指令流,能高效地分析出各指令的使用频度,并直观地展示分析结果.%It is instructive for the design and optimization of CPU instruction to collect computer instruction streams and calculate the frequency of each kind of instruction in different application environments. Aiming at the problems of low efficiency and slow speed in the existing methods of calculation instruction frequency, a new method is proposed. The main idea of this method is to perform a script to record user behavior on the QEMU emulator and use the QEMU plug-in to obtain the instruction stream in the simulation of CPU. Analysis performance is promoted by using block-based statistics. Experimental results show that the proposed method can track and obtain the instruction stream and analyze the frequency of each instruction more efficiently. And the results of the analysis are visualized.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号