Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for controlling processor frequency when program operation by using dynamic compiler

A processor and compiler technology, applied in the field of energy saving based on system software, to achieve the effects of high portability, easy implementation and strong transparency

Inactive Publication Date: 2011-09-14
ZHEJIANG UNIV
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current situation that new high-energy battery technologies (such as fuel cells) are still immature, the power management of next-generation handheld devices can only start from the two aspects of improving power utilization and reducing power consumption.

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 controlling processor frequency when program operation by using dynamic compiler
  • Method for controlling processor frequency when program operation by using dynamic compiler

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] When implementing the method of using the dynamic compiler to control the processor frequency when the program is running, the dynamic compiler considers the two constraints of performance and energy saving during the scheduling process, and runs the program at the lowest possible frequency while ensuring its performance.

[0033] 1) Insert the analysis code

[0034] In the present invention, the dynamic compiler injects the program in operation, analyzes and divides the binary code of the program with functions and loops as basic units, and for the divided code segment, the dynamic compiler judges the size of the function body and the loop body , for a function body and a loop body with more than 10 instructions, the dynamic compiler inserts analysis codes at the entry and exit of the function body, before and after the loop body. The function of analyzing the code includes: determining the program hot spot, collecting the performance of the program hot spot, calculati...

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 relates to the field of the energy-saving technology based on system software and aims at providing a method which can control the frequency of a processor by using a dynamic compiler when a program runs. The method includes the following steps: an analysis code is inserted; a hotspot of the program is dynamically determined when the program runs; the performance of the hotspot of the program is acquired; and the frequency of the processor is adjusted according to the performance of the hotspot of the program. By dynamically analyzing the performance of the program and using thefrequency-adjusting function of the processor, the best energy-saving frequency of the program theory processor is mapped to an actual-adjustable voltage when the program runs so as to achieve the purpose of energy conservation and simultaneously ensure the performance requirements of the system. The invention is characterized by transparency, stability and practicability and the like.

Description

technical field [0001] The invention relates to the technical field of energy saving based on system software, in particular to a method for using a dynamic compiler to control the frequency of a processor when a program is running. Background technique [0002] As the functions of IT products become more and more powerful, the power consumption also increases gradually. Today, a chip composed of a billion transistors has an additional leakage of 60 to 70 watts. The increase in power consumption has also brought about an increase in heat dissipation, and the requirements for heat dissipation equipment have also become greater and greater. [0003] In computer systems, especially in various embedded devices, the CPU is one of the main components that consume power. In the field of power management of portable embedded devices, the current difficulty lies in not only meeting the requirements of portable terminals for power supply, but also achieving small footprint, light we...

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): G06F1/32G06F9/45
CPCY02B60/181Y02D10/00
Inventor 陈天洲项凌翔马建良曹满章铁飞乔福明王春昊陈剑缪良华蒋冠军
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products