Find the processor speed of an Android device in M

2019-02-17 17:56发布

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?

2条回答
戒情不戒烟
2楼-- · 2019-02-17 18:17

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.

查看更多
Ridiculous、
3楼-- · 2019-02-17 18:28

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

查看更多
登录 后发表回答