mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 09:08:25 +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:
parent
67ab68914a
commit
d306346603
@ -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
|
/* 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 */
|
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;
|
info.cpu_usage[index] = curtmp / info.cpu_avg_samples / info.cpu_count;
|
||||||
} else {
|
} else {
|
||||||
info.cpu_usage[index] = curtmp / info.cpu_avg_samples;
|
info.cpu_usage[index] = curtmp / info.cpu_avg_samples;
|
||||||
}
|
} */
|
||||||
/* TESTING -- this line replaces the prev. "suspect" if/else */
|
/* TESTING -- this line replaces the prev. "suspect" if/else */
|
||||||
info.cpu_usage[index] = curtmp / info.cpu_avg_samples;
|
info.cpu_usage[index] = curtmp / info.cpu_avg_samples;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user