CPU boost per mode

This commit is contained in:
seerge
2023-03-28 14:19:51 +02:00
parent 583cb677d0
commit 28a17562a8
5 changed files with 20 additions and 13 deletions

View File

@@ -932,6 +932,10 @@ namespace GHelper
timer.Start();
}
if (Program.config.getConfigPerf("auto_boost") != -1)
{
NativeMethods.SetCPUBoost(Program.config.getConfigPerf("auto_boost"));
}
}
public void SetPerformanceMode(int PerformanceMode = ASUSWmi.PerformanceBalanced, bool notify = false)
@@ -991,6 +995,7 @@ namespace GHelper
{
fans.InitFans();
fans.InitPower();
fans.InitBoost();
}