1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-26 16:48:28 +00:00

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
This commit is contained in:
David Carter 2005-11-27 16:42:49 +00:00
parent 67ab68914a
commit d306346603

View File

@ -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;