GPU usage tweak

This commit is contained in:
seerge
2023-04-11 19:42:44 +02:00
parent a94321df04
commit 7120d2a009

View File

@@ -120,9 +120,14 @@ public static class HardwareMonitor
}
}
public static bool IsUsedGPU(int threshold = 50)
public static bool IsUsedGPU(int threshold = 20)
{
return (GetGpuUse() > threshold);
if (GetGpuUse() > threshold)
{
Thread.Sleep(1000);
return (GetGpuUse() > threshold);
} else
return false;
}
public static void RecreateGpuTemperatureProviderWithDelay()