Check patentability & draft patents in minutes with Patsnap Eureka AI!

CPU load collecting method and device

A collection device and processor technology, applied in the direction of data processing power supply, electrical digital data processing, digital data processing components, etc., can solve the problem of high energy consumption, and achieve the effect of simplifying operation steps, reducing system burden, and saving energy

Inactive Publication Date: 2016-08-24
LEMOBILE INFORMATION TECH BEIJING
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Therefore, the technical problem to be solved by the present invention is to overcome the defects that CPUfreqgovernor and CPU hotplug independently collect CPU loads in the prior art and cause high energy 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
  • CPU load collecting method and device
  • CPU load collecting method and device
  • CPU load collecting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Provide a kind of processor load collection method in this embodiment, can be used in the operating system of smart phone or other intelligent terminal equipment, its purpose is to make processor frequency adjustment module (CPUfreqgovernor) and processor hot plug module (CPU hotplug) Share a load collection strategy.

[0034] The processor load collecting method in the present embodiment comprises the following steps, as figure 2 and image 3 Shown:

[0035] S1. Obtain the frequency adjustment mode of the processor frequency adjustment module.

[0036] Since the CPUfrequency driver has several adjustment strategies governor, it generally includes 6 adjustment strategies, namely: the first mode ondemand, the second mode conservative, the third mode interactive, the fourth mode powersave, the fifth mode performance, and the sixth mode userspace , where the first mode ondemand, the second mode conservative and the third mode interactive governor need to collect CPU lo...

Embodiment 2

[0045] A processor load collection device is provided in this embodiment, such as Figure 4 shown, including:

[0046] A mode acquisition unit 01, configured to acquire the frequency adjustment mode of the processor frequency adjustment module;

[0047] The first collection unit 02 is configured to determine whether the processor is at the highest frequency if the frequency adjustment mode is the third mode, and if it is at the highest frequency, simulate and generate a load value according to the highest frequency, and store the load value Sent to the processor for hotplugging modules.

[0048] Further, it also includes:

[0049] The second collection unit 03 is configured to collect the load value through the processor frequency adjustment module if the frequency adjustment mode is the first mode or the second mode, and send the load value to the processor hot-swap module.

[0050] Further, it also includes a third collection unit 04, if the frequency adjustment mode is t...

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 provides a CPU (Central Processing unit) load collecting method, which comprises the following steps of taking a frequency regulating mode of a CPU; if the frequency regulating mode is an interactive mode, judging whether the CPU is at a highest frequency or not; if the CPU is at the highest frequency, generating a load value in a simulative way according to the highest frequency; and sending the load value to a CPU hot plug module. When the CPU in the interactive mode is at the highest frequency, the CPU load value collection is not performed; by using a mode of generating the load value in the simulative way, the goal of sharing the CPU load value by the CPU hot plug module and a CPU frequency regulating module is achieved; the two modules do not need the single processor load value calculation; the operation steps are simplified; the system burden is reduced; and the energy is saved.

Description

technical field [0001] The invention relates to the field of processors, in particular to a method and device for collecting CPU loads. Background technique [0002] With the popularity of smart phones, the performance of the current smart phones is becoming more and more powerful, and the energy consumption of the mobile phones is also increasing. Although the performance of mobile phones is becoming more and more high-end and the price is getting cheaper and cheaper, the battery life of mobile phones has always been the pain point of user experience. Most of the criticisms of smartphones are caused by users. How to improve battery life has also become a research hotspot and difficulty. . Before there is a revolutionary improvement in battery technology, optimizing system resources and reducing the system's occupancy of resources indirectly prolongs the battery life cycle. [0003] The central processing unit (CPU) of the mobile phone is a very large-scale integrated circ...

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 Applications(China)
IPC IPC(8): G06F1/32
CPCG06F1/3243
Inventor 谢国锋
Owner LEMOBILE INFORMATION TECH BEIJING
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More