Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find the processor speed of an Android device in MHz

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?

like image 535
Jainendra Avatar asked May 02 '13 06:05

Jainendra


People also ask

How do I know what MHz my processor is?

If you're wondering how to check your clock speed, click the Start menu (or click the Windows* key) and type “System Information.” Your CPU's model name and clock speed will be listed under “Processor”.

Is CPU speed measured in MHz?

In a computer, clock speed refers to the number of pulses per second generated by an oscillator that sets the tempo for the processor. Clock speed is usually measured in MHz (megahertz, or millions of pulses per second) or GHz (gigahertz, or billions of pulses per second).

What is a good processor speed in MHz?

A clock speed of 3.5 GHz to 4.0 GHz is generally considered a good clock speed for gaming but it's more important to have good single-thread performance. This means that your CPU does a good job of understanding and completing single tasks. This is not to be confused with having a single-core processor.


2 Answers

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

like image 117
Miguel Rivero Avatar answered Sep 21 '22 10:09

Miguel Rivero


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.

like image 38
Neil Townsend Avatar answered Sep 21 '22 10:09

Neil Townsend