From d3063466037a59614569750d0dba2a47e6233a1d Mon Sep 17 00:00:00 2001 From: David Carter Date: Sun, 27 Nov 2005 16:42:49 +0000 Subject: [PATCH] forgot to comment out a line for testing git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@432 7f574dfc-610e-0410-a909-a81674777703 --- src/linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux.c b/src/linux.c index 87e17c45..cc54dcd4 100644 --- a/src/linux.c +++ b/src/linux.c @@ -471,11 +471,11 @@ inline static void update_stat() } /* TESTING -- I've removed this, because I don't think it is right. You shouldn't divide by the cpu count here ... removing for testing */ - if (index == 0) { + /* if (index == 0) { info.cpu_usage[index] = curtmp / info.cpu_avg_samples / info.cpu_count; } else { info.cpu_usage[index] = curtmp / info.cpu_avg_samples; - } + } */ /* TESTING -- this line replaces the prev. "suspect" if/else */ info.cpu_usage[index] = curtmp / info.cpu_avg_samples;