int ppsm_get_cpufreq( void *handle, int cpu );
This function gets the current CPU frequency. The arguments are:
The ppsm_get_cpufreq() function returns the current CPU frequency, in MHz, or -1 if an error occurred (e.g. the CPU index is out of range).