mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Use watts as double to have more fine grained control
This commit is contained in:
@@ -379,7 +379,7 @@ namespace GHelper.AutoTDP
|
||||
Logger.WriteLine("[AutoTDPService] Setting Power Limit from " + CurrentTDP + "W to " + newPL + "W, Delta:" + adjustment);
|
||||
|
||||
//We only limit to full watts, no fractions. In this case, we will cut off the fractional part
|
||||
powerLimiter.SetCPUPowerLimit((int)newPL);
|
||||
powerLimiter.SetCPUPowerLimit(newPL);
|
||||
CurrentTDP = newPL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user