From 06129eab0e8488b07324afaa6ba4daabbbcffb8e Mon Sep 17 00:00:00 2001 From: CasperH2O Date: Thu, 14 Dec 2023 19:08:57 +0100 Subject: [PATCH] Fix manual TDP being set too frequent Manual TDP was set every 1000 msec, in practice the SMU cannot handle faster then 1 Hz. Due to timing inaccuracies of the interval, sometimes this would be faster then 1000 msec, resulting odd issues like TDP not applying or worse, BSOD. Side note, this is also what AutoTDP is set to 1010 msec. --- HandheldCompanion/Managers/PerformanceManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HandheldCompanion/Managers/PerformanceManager.cs b/HandheldCompanion/Managers/PerformanceManager.cs index 1c3a0627d..810290e21 100644 --- a/HandheldCompanion/Managers/PerformanceManager.cs +++ b/HandheldCompanion/Managers/PerformanceManager.cs @@ -32,7 +32,7 @@ public static class PowerMode public class PerformanceManager : Manager { - private const short INTERVAL_DEFAULT = 1000; // default interval between value scans + private const short INTERVAL_DEFAULT = 3000; // default interval between value scans private const short INTERVAL_AUTO = 1010; // default interval between value scans private const short INTERVAL_DEGRADED = 5000; // degraded interval between value scans public static int MaxDegreeOfParallelism = 4; @@ -1002,4 +1002,4 @@ private void Processor_MiscChanged(string misc, float value) } #endregion -} \ No newline at end of file +}