Here is the snippet of the file "/sys/devices/system/cpu/cpuX/core_ctl/global_state"
CPU0
CPU: 0
Online: 1
Isolated: 0
First CPU: 0
Busy%: 0
Is busy: 0
Not preferred: 0
Nr running: 0
Active CPUs: 2
Need CPUs: 2
Nr isolated CPUs: 2
Boost: 0
What do the Busy% indicate can anyone explain? Is the busy% accurate?
The "Busy%" value in the /sys/devices/system/cpu/cpuX/core_ctl/global_state file on an Android kernel represents the percentage of time that the CPU core represented by "cpuX" has spent executing instructions during a given sampling period. It is used to determine the workload on a specific CPU core and can be used to make decisions about how to allocate resources on the device.
To determine the workload of a specific core using the "Busy%" field in /sys/devices/system/cpu/cpuX/core_ctl/global_state file, you can:
Keep in mind that this method provides a general indication of the workload and should be used in conjunction with other tools and methods to get a complete picture of the performance of the system.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.