问题
How can I get processor speed of an Android device in MHz? I'm able to get the speed in terms of BogoMips by reading \proc\cpuinfo
file. How can I convert BogoMips to MHz or is there any other way to get the speed in MHz?
回答1:
You have the maximum processor speed (in Hz) into the file:
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
For instance, the content of that file in my Samsung Galaxy Ace is :
832000
回答2:
The wikipedia page on BogoMips (http://en.wikipedia.org/wiki/BogoMips) gives a table providing a rough way of estimating between processor clock and bogoMips given the type of processor.
来源:https://stackoverflow.com/questions/16331538/find-the-processor-speed-of-an-android-device-in-mhz