Hierarchical classification power consumption measurement method for ARM instruction set

一种针对arm指令集的层次分类功耗测量方法

Abstract

The invention discloses a hierarchical classification power consumption measurement method, in particular a hierarchical classification power consumption measurement method for an ARM instruction set. The method comprises: firstly, dividing the ARM instruction set into four classes according to the type of instruction; secondly, classifying the instructions in addressing modes; and finally, performing classification according to the operands of different addressing modes. By performing an experiment on an ARM7TDMI processor, an instruction set power consumption simulator HMSim, according to a test result, is perfected to make a simulative test environment closer to an actual hardware environment; and thus, a more convenient and accurate test environment is provided for the measurement of the power consumption of embedded software. When the hierarchical classification power consumption measurement method provided by the method is used on the power consumption simulator HMSim, the error between the power consumption of an application running on the HMSim and the power consumption of the application running in an actual hardware environment is kept within 10 percent.
本发明公布了一种适用于ARM指令集的功耗测量方法—层次分类功耗测量方法。首先将ARM指令集按照指令类型分成四类,然后再对各类指令按照寻址方式进行分类,最后按照不同寻址方式下操作数的不同进行分类。通过在ARM7TDMI处理器进行实验,根据测试结果完善指令集功耗仿真器HMSim,使仿真测试环境更加接近实际硬件环境,从而为嵌入式软件的功耗测量提供更方便、精确的测试环境。本发明提出的层次分类功耗测量方法应用在HMSim功耗模拟器上之后,应用程序在HMSim上运行的功耗值与实际硬件环境相比,误差在10%以内。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (2)

    Publication numberPublication dateAssigneeTitle
    CN-101609411-ADecember 23, 2009四川大学一种基于复杂度的嵌入式软件功耗bp神经网络建模方法
    WO-2009065168-A1May 28, 2009National Ict Australia LimitedAnalyse d'un code logiciel multilangage

NO-Patent Citations (2)

    Title
    《电脑知识与技术》 20071231 王凯亮 基于ARM的高精度功耗测量仪器设计 1316-1317,1358 1 , 第17期 2
    《计算机学报》 20090930 罗刚等 源程序级和算法级嵌入式软件功耗特性的分析与优化方法研究 1869-1875 1 第32卷, 第9期 2

Cited By (4)

    Publication numberPublication dateAssigneeTitle
    CN-102073763-AMay 25, 2011清华大学FPGA development board-based full-system simulating and accelerating method
    CN-102750222-AOctober 24, 2012四川大学Method for estimating energy consumption of embedded software based on C programming language
    CN-103106136-AMay 15, 2013成都信息工程学院Software dynamic energy consumption statistical method based on X86 instruction set
    CN-103106136-BJune 29, 2016成都信息工程学院一种基于x86指令集的软件动态能耗统计方法