Function rc_cpu_set_governor¶
Defined in File cpu.h
Function Documentation¶
- 
int rc_cpu_set_governor(rc_governor_t gov)¶
 Sets the CPU governor. See rc_governor_t.
This is the equivalent to running ‘cpufreq-set -g {governor}’ from the command line but can be called in your C program instead.
- Parameters
 gov – [in] Desired governor
- Returns
 0 on success, -1 on failure.