基于QEMU的CPU指令頻度分析
發(fā)布時間:2019-01-20 09:53
【摘要】:采集計算機在不同應用環(huán)境下的指令流,并對計算機各個指令使用的頻度進行統(tǒng)計,對CPU指令設計和優(yōu)化有指導意義。針對現有指令頻度統(tǒng)計方法存在的跟蹤效率低、獲取速度慢等問題,提出一種新的指令頻度分析方法。該方法的核心思想是在QEMU模擬器上執(zhí)行用戶行為腳本,利用QEMU插件獲取CPU執(zhí)行的指令流,并利用基于塊的統(tǒng)計優(yōu)化性能。實驗結果表明,該方法可跟蹤并獲取指令流,能高效地分析出各指令的使用頻度,并直觀地展示分析結果。
[Abstract]:The instruction flow of computer in different application environment is collected, and the frequency of each instruction is counted, which is instructive to the design and optimization of CPU instruction. In order to solve the problems of low tracking efficiency and slow acquisition speed, a new command frequency analysis method is proposed. The core idea of this method is to execute the user behavior script on the QEMU simulator, to obtain the instruction stream executed by CPU by using the QEMU plug-in, and to optimize the performance based on block statistics. The experimental results show that the method can track and obtain instruction flow and can efficiently analyze the frequency of each instruction and display the analysis results directly.
【作者單位】: 首都師范大學信息工程學院計算機科學與技術系;清華大學計算機科學與技術系網絡所;北京理工大學計算機學院;
【基金】:核高基項目(No.2012ZX01039-004-41,No.2012ZX01039-003)
【分類號】:TP332
本文編號:2411929
[Abstract]:The instruction flow of computer in different application environment is collected, and the frequency of each instruction is counted, which is instructive to the design and optimization of CPU instruction. In order to solve the problems of low tracking efficiency and slow acquisition speed, a new command frequency analysis method is proposed. The core idea of this method is to execute the user behavior script on the QEMU simulator, to obtain the instruction stream executed by CPU by using the QEMU plug-in, and to optimize the performance based on block statistics. The experimental results show that the method can track and obtain instruction flow and can efficiently analyze the frequency of each instruction and display the analysis results directly.
【作者單位】: 首都師范大學信息工程學院計算機科學與技術系;清華大學計算機科學與技術系網絡所;北京理工大學計算機學院;
【基金】:核高基項目(No.2012ZX01039-004-41,No.2012ZX01039-003)
【分類號】:TP332
【相似文獻】
相關期刊論文 前1條
1 張_";陳香蘭;;基于龍芯3A處理器的跨平臺二進制翻譯器QEMU的優(yōu)化研究[J];計算機應用與軟件;2014年07期
,本文編號:2411929
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2411929.html