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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
