Hi Team,
Is there any C function or API available to get the CPU clock speed?
As of now, i am using a command "cat /proc/cpuinfo" to get CPU clock speed.
I am looking for a API to get clock speed at run time in my application. Please suggest.
Thanks & Regards,
Selvam
See technical support enginner comment below:
/proc/cpuinfo is a pseudo-file. A userland application can open it as a regular file for reading, read it in and parse to establish the current CPU clock rate.