Robot Control Library
cpu.h File Reference

Go to the source code of this file.

Typedefs

typedef enum rc_governor_t rc_governor_t
 

Enumerations

enum  rc_governor_t {
  RC_GOV_POWERSAVE,
  RC_GOV_PERFORMANCE,
  RC_GOV_ONDEMAND,
  RC_GOV_SCHEDUTIL,
  RC_GOV_CONSERVATIVE
}
 

Functions

int rc_cpu_set_governor (rc_governor_t gov)
 Sets the CPU governor. See rc_governor_t. More...
 
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. More...
 
int rc_cpu_print_freq (void)
 Prints the current frequency to the screen. For example "600mhz". More...