upkie  13.1.0
Open-source wheeled biped robots

◆ PerformanceCpuGovernor()

PerformanceCpuGovernor ( int  nb_cpus = 4,
const std::string &  cpu_dir = "/sys/devices/system/cpu" 
)
explicit

Initialize without changing any CPU governor.

Parameters
[in]nb_cpusNumber of CPU cores to configure, with indices from 0 to nb_cpus - 1. Defaults to the four cores of a Raspberry Pi.
[in]cpu_dirPath to the sysfs directory holding CPU devices.