Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2013
- Santa Clara, CA
CPU frequency files missing in file system
What I trying to do is this.
I am creating an android application that monitors the CPU activities and judges it by collecting several metrics.
For this, I access various files from the kernel to get the information. For collecting the frequency details, I need access to the following files, but could not find them in the file system in the device I am testing it on.
I tried accessing the file system on another phone running android, and the files were fine. So, I assume, there are some drivers that I missed while building the kernel.
Some details about the OS:
Android OS version - 4.2.2
Kernel version - 3.9.1
Can anyone let me know if I have to change any configurations while building the android kernel to get the three files present in their corresponding locations?
- Join Date
- Sep 2007
Hello and welcome.
There should be a menuconfig text file generated when compiling (eg: config-x.xx.x or config.gz). Searching 'freq' in that file will show the CONFIG scaling options, and which are/aren't enabled. Not familiar with the arch so can't say which need to be enabled, but searching specific options should get you some answers.