CrystalJake
CrystalJake

Reputation: 897

how to monitor cpu frequency in android system

Recently,I am making a system program(application) to monitor cpu frequency info.I found that we can use cpuinfo to dump each cpu in mobile.But I don't want to use shell command to get these infos in my application.So I want to know how the cpuinfo command to get cpu infos,is there system call?

Upvotes: 1

Views: 466

Answers (1)

Diego Torres Milano
Diego Torres Milano

Reputation: 69396

Just open and read from /proc/cpuinfo in your application.

Upvotes: 2

Related Questions