Get CPU Model name and speed on Android

I have done a little tweaking to SystemStats and have put in a Pull Request

  • JUCE learned to get CPU brand string (e.g. Intel® Xeon® CPU E5-1650 v2 @ 3.50GHz) on OSX, Windows and Linux (tested on OSX 10.12, Windows 10 and CentOS 7)
  • JUCE learned to get CPU type from “Hardware:” field in /proc/cpuinfo on Android (tested on OnePlus 3T)
  • JUCE learned to retrieve the CPU speed on Android from a /sys/devices file (tested on OnePlus 3T. OnePlus 3T has 4 cores with 2 different clock speeds so it chooses the highest clock speed of the avaialble cores.)
1 Like

Thanks Harry - we’ll take a look asap!

I just realised I haven’t tested this on iOS at all. No idea what will happen. :confused:

hmm. Comes up as blank, (but the vendor string was also unimplemented on iOS)