0

I am reading the cup's max frequency from "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" this file in Android Studio. But I am always getting less frequency than shown in the device's info page/claimed by the company.

I was testing it in Samsung Galaxy M32 4g device and company claims it's frequency to be 2GHz but this file is giving the answer 1.8GHz.

Why is this happening?

Sam
  • 1
  • 1
  • Does that device ever actually clock itself up to 2GHz? If not, perhaps its reporting the top of the range the current governor is willing to actually use. (Other random guess: maybe only one or some of the cores can clock that high, and cpu0 isn't one of the fast ones. `grep . /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq` is a good way to list filename + contents of /proc files that have one value per file.) – Peter Cordes Aug 29 '23 at 06:08

0 Answers0