CPU Frequency
- olaf.get_cpufreq() int[source]
Get the current CPU frequency.
- Returns:
The current cpufreq in MHz.
- Return type:
- olaf.set_cpufreq(value: int)[source]
Set the current CPU frequency. Must be running as root to use this function.
- Parameters:
value (int) – The cpufreq in MHz to change to. Must be a value from
A8_CPUFREQS.
- olaf.get_cpufreq_gov() str[source]
Get the current cpu governor; ether
"performance"or"powersave".- Returns:
The current CPU governor.
- Return type: