Soc chip performance and power consumption optimization method and device, equipment and medium
A chip performance and optimization method technology, applied in the computer field, can solve the problems of long sampling period, difficult adjustment of threshold value, high cost of load calculation, etc., to achieve precise control of performance and power consumption, save power consumption, and meet needs Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] This embodiment provides a method for optimizing Soc chip performance and power consumption, such as Figure 1 to Figure 3 shown, including:
[0036] Step S1. Different upper-layer applications register a key area respectively, and provide the expected time-consuming threshold value o of the key area and the list of hardware resources hw_list used (such as cpu, gpu, vpu, etc.). The key area in the present invention refers to: in an application program or a usage scenario, the area where the performance or power consumption is most concerned.
[0037] For example: an application can mark the drawing function as a key area, and expect to maintain a refresh performance of 60fps, then it can set the expected time-consuming threshold of the key area to o=16.6ms, and then its drawing process uses cpu and gpu , you can add these two pieces of hardware to the list of registered hardware resources, and finally mark the start and end of the key area at the start and end of the d...
Embodiment 2
[0052] In this embodiment, a device is provided, such as image 3 As shown, including: a device for optimizing Soc chip performance and power consumption, including
[0053] The obtaining module is used to obtain the expected time-consuming threshold value o of the key area provided by the upper-layer application and the list of hardware resources used after registering a key area respectively in different upper-layer applications;
[0054] The marking module is used to set the start function for calling the key area at the starting position of the key area, and set the call end function for calling the key area at the end position;
[0055] The statistical module is used to traverse the corresponding hardware resource list after the key area corresponding to the upper application is started, and count the time-consuming t of the key area and the duty cycle i1, i2...in of each hardware in the hardware resource list, through the formula rn= t*in calculates the running time r1,...
Embodiment 3
[0067] This embodiment provides an electronic device, such as Figure 4 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.
[0068] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


