Find the processor speed of an Android device in MHz

久未见 提交于 2020-01-11 05:18:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!