proxy: Split out per-file and re-export relevant proxies

This commit is contained in:
Vicki Pfau 2024-07-31 20:02:46 -07:00
parent 72e633e336
commit 428350b4c7
20 changed files with 575 additions and 62 deletions

View file

@ -235,7 +235,9 @@ async fn main() -> Result<()> {
}
}
Commands::SetCpuScalingGovernor { governor } => {
proxy.set_cpu_scaling_governor(governor.to_string()).await?;
proxy
.set_cpu_scaling_governor(governor.to_string().as_str())
.await?;
}
Commands::GetGPUPowerProfiles => {
let profiles = proxy.gpu_power_profiles().await?;