Method for testing energy consumption of dynamic software in embedded system simulator

An embedded system and simulator technology, applied in the field of dynamic software energy consumption testing, can solve problems such as insufficient accuracy of energy consumption estimation and inability to predict programs, and achieve the effects of accurate statistics, accurate energy consumption, and integrity assurance

Inactive Publication Date: 2008-04-30
ZHEJIANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although it is simple and convenient, it cannot predict unexpected situations during the execution of the program such as jumps, interruptions, etc., so the accuracy of energy consumption estimation is not enough. Dynamic energy consumption estimation needs to be realized by using a corresponding simulator, and Wukong simulator The characteristics of the full system simulator are well suited for dynamic energy consumption estimation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for testing energy consumption of dynamic software in embedded system simulator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044]There is a program source code A, which is cross-compiled to generate binary code and compiled into the image file of the operating system kernel. The image file is loaded by the Wukong emulator. Start uart, click the menu bar to start counting power consumption. Run the A program. After the emulator runs the A program, the power statistics module starts to work. After the program A runs, the emulator gets the power consumed by the program A running.

[0045] The running process of program A is the process of power statistics. For program A compiled into binary code. The Wukong emulator runs instruction by instruction. After A starts executing, maintain an array B[M] and C[N] for A, M is the maximum number of instructions, and the meaning of array B is the number of each type of instruction driven by A; N is the number of types of peripherals , the meaning of the array C is the cumulative time used by the peripherals driven by A. For the command a run by the simul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for testing energy-cost of dynamic software in embedded system Wukong simulator. The inventive method integrates energy-cost test add-in into Wukong simulator for testing energy-coast of execution commands. The method comprises two structures, energy-cost test of peripheral devices and system level commands. Wherein the energy-cost test of peripheral devices includes timing when peripheral devices start and counting the peripheral using time; the command level energy-cost test includes taking statistics on commands that are really executed in simulator and obtaining final command energy-cost according to the statistics results to make static evaluation change to dynamic evaluation.

Description

technical field [0001] The invention relates to the field of embedded simulator design, in particular to a method for testing dynamic software energy consumption in an embedded system simulator. Background technique [0002] Wukong Simulator is a general embedded system simulator developed by the Embedded Software R&D Center of Zhejiang University since October 2004. It supports the mainstream embedded processor architecture and common embedded system external devices, and realizes the full System simulation, which can directly run the binary files of the embedded system. At the same time, Wukong provides debugging support and running data collection, providing perfect support for embedded developers. [0003] The features of Wukong Simulator are: [0004] Multi-architecture support: Wukong does not design for a specific architecture. The general bottom layer is designed to support the running framework of mainstream embedded CPU architectures, including ARM, MIPS, PowerPC...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 陈天洲梁晓黄江伟钱杰
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products