From 62e1aa8ae8d30466d79f2560b65e07f33741c5d3 Mon Sep 17 00:00:00 2001 From: bbedward Date: Sun, 10 Aug 2025 13:43:50 -0400 Subject: [PATCH] remove sample filtering --- Services/DankgopService.qml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Services/DankgopService.qml b/Services/DankgopService.qml index 6b842045..24de1956 100644 --- a/Services/DankgopService.qml +++ b/Services/DankgopService.qml @@ -281,16 +281,14 @@ Singleton { const cpu = data.cpu cpuSampleCount++ - // Only update CPU data if we have had at least 2 samples (first sample is inaccurate) - if (cpuSampleCount >= 2) { - cpuUsage = cpu.usage || 0 - cpuFrequency = cpu.frequency || 0 - cpuTemperature = cpu.temperature || 0 - cpuCores = cpu.count || 1 - cpuModel = cpu.model || "" - perCoreCpuUsage = cpu.coreUsage || [] - addToHistory(cpuHistory, cpuUsage) - } + // Use dankgop CPU numbers directly without modification + cpuUsage = cpu.usage || 0 + cpuFrequency = cpu.frequency || 0 + cpuTemperature = cpu.temperature || 0 + cpuCores = cpu.count || 1 + cpuModel = cpu.model || "" + perCoreCpuUsage = cpu.coreUsage || [] + addToHistory(cpuHistory, cpuUsage) // Always update cursor data for next sampling if (cpu.cursor) {