int rc_cpu_set_governor(rc_governor_t gov)
Sets the CPU governor. See rc_governor_t.
int rc_cpu_get_freq(void)
Returns the current clock speed of the Beaglebone's Sitara processor in the form of the provided enum...
rc_governor_t
Definition: cpu.h:28
int rc_cpu_print_freq(void)
Prints the current frequency to the screen. For example "600mhz".
@ RC_GOV_POWERSAVE
Sets CPU to slowest speed.
Definition: cpu.h:29
@ RC_GOV_SCHEDUTIL
Like ONDEMAND but newer algorithm.
Definition: cpu.h:32
@ RC_GOV_PERFORMANCE
Sets CPU to fastest speed.
Definition: cpu.h:30
@ RC_GOV_CONSERVATIVE
Automatically scales the cpu but still tries to save power.
Definition: cpu.h:33
@ RC_GOV_ONDEMAND
Default automatic scaling.
Definition: cpu.h:31