计算机工程与应用2017,Vol.53Issue(11):61-66,6.DOI:10.3778/j.issn.1002-8331.1512-0355
基于QEMU的CPU指令频度分析
QEMU-based CPU instruction frequency analysis
摘要
Abstract
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.关键词
指令频度/虚拟机/模拟/自动测试Key words
instruction frequency/virtual machine/simulation/automatic test分类
信息技术与安全科学引用本文复制引用
孙卫真,张美琳,向勇,毛英明,曹睿东..基于QEMU的CPU指令频度分析[J].计算机工程与应用,2017,53(11):61-66,6.基金项目
核高基项目(No.2012ZX01039-004-41,No.2012ZX01039-003). (No.2012ZX01039-004-41,No.2012ZX01039-003)