Measure ARM Mhz

Measure ARM Mhz
A C-state is a combination of MPU and CORE power domain states during Idle period. Depending on available sleep time, kernel will decide in which C-state to enter. Therefore time elapsed during C-states allows deducing global CPU utilization capture accumulated time spent in C-states at beginning of use case

Command to be used:

cat /sys/devices/system/cpu/*/cpuidle/*/* ; sleep 20 ; cat /sys/devices/system/cpu/*/cpuidle/*/*

The output of this command should be copied in the excel sheet.

Note: Wait for 20 seconds after running the above command, since it sleeps for 20 Seconds to capture the differential statistics

For accurate load measurements, its advisable that the OPP be locked. This can be done using commands below (eg. for MP3 usecase)

echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo 0 > /sys/devices/system/cpu/cpu1/online echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed