CPU power consumption test method and CPU power consumption test system
A technology of power consumption testing and operating system, which is applied in the directions of measuring devices, transportation and packaging, and measuring electric power, etc. It can solve problems such as memory occupation, complex operating system, and influence of test results, so as to directly optimize power consumption and reduce adverse effects , the effect supported by accurate data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] This embodiment one discloses a CPU power consumption test method, refer to figure 1 , the method may include the following steps:
[0059] S101: Receive a test request from a tester, the test request is a request triggered by the tester on the target device after the streamlined operating system of the target device is started, and the streamlined operating system is configured to start the operating system based on the test requirements in advance The system obtained after filtering each service program configured in the file.
[0060] This embodiment specifically takes the Android system as an example to describe the present invention in detail.
[0061] Before carrying out CPU power consumption test according to each step processing logic of the present invention, need at first carry out following pretreatment process:
[0062] Prepare the source code of the Android system; modify the startup configuration file init.xxx.rc of the Android system, filter the service...
Embodiment 2
[0075] In the second embodiment, refer to figure 2 , the method may also include the following steps:
[0076] S105: According to the pre-configured test plan, judge whether all the test procedures have been completed, the test plan includes N sets of values for each environmental parameter, and the N is a natural number not less than 1;
[0077] S106: If the judgment result is no, according to the pre-configured test plan, obtain the next set of values of each environmental parameter of the target device, and use the next set of values as the new target value of each environmental parameter; and trigger the following steps : Control the value of each environmental parameter of the target device to the corresponding target value;
[0078] S107: If the judgment result is yes, end.
[0079] The purpose of the present invention is to use the test data of CPU power consumption, so that Android system developers can perform more accurate power consumption optimization on t...
Embodiment 3
[0082] In the third embodiment, refer to image 3 , the method may also include the following steps:
[0083] S108: According to the test results, formulate a mapping relationship table between the battery output current and various environmental parameters, and draw a function curve between the output current and the environmental parameters.
[0084] Based on the test data, this embodiment sorts out the relationship between battery power, CPU usage rate, CPU frequency, the number of cores enabled by the CPU, and the battery output current, generates a mapping relationship table between the battery current and various environmental parameters, and draws the output current and A graph of the function between environmental parameters. The tabular format of the generated test result mapping table can refer to FIG. 4( a ) and FIG. 4( b ), and the drawn curve can refer to FIG. 4( c ).
[0085] On this basis, according to the test results, it can be deduced that when the system i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com