15-05-2013 дата публикации
Номер: CN103106136A
Принадлежит:
The invention discloses a software dynamic energy consumption statistical method based on an X86 instruction set. The software dynamic energy consumption statistical method based on the X86 instruction set comprises the steps of firstly, identifying the an X86 instruction prefix, then identifying X86 instruction operation codes and operands, finally obtaining an X86 instruction execution cycle number, and calculating and obtaining an energy consumption value of the whole system. The software dynamic energy consumption statistical method based on the X86 instruction set is verified from two aspects of a C language program and assembly language programs, the C language program used for verification is bubble sort (Bubble), matrix multiplication (Matrix), Joseph ring algorithm (Josephus), a maze problem, and an eight queen problem (Queen). The seven assembly language programs used for verification all comprise 32 classes of X86 assembly instructions. Experimental results show that the error ...
Подробнее