This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_cpu_get_freq

Function Documentation

int rc_cpu_get_freq(void)

Returns the current clock speed of the Beaglebone’s Sitara processor in the form of the provided enumerated type. It will never return the FREQ_ONDEMAND value as the intention of this function is to see the clock speed as set by either the user or the ondemand governor itself.

Returns

frequency in hz