Bug#753119: wmmon: Increase the maximum numbers of CPUs

2014-08-10 Thread Rodolfo García Peñas (kix)
Hi Andreas, I was reading the code and checking your patch. The variable MAX_CPU seems to be the maximum cpu number: 123 #define MAX_CPU (10) /* depends on graph height */ And is used in this block: 397 /* Load ding is 45 pixels hoog */ 398 copyXPMArea(0, 64, 32, 12, 28, 4); 399 400 if (i ==

Bug#753119: wmmon: Increase the maximum numbers of CPUs

2014-06-29 Thread Andreas Tscharner
Package: wmmon Version: 1.1+20131205-1 Severity: wishlist Tags: patch Dear Maintainer, I have a new computer containing a hexcore, hyperthreading processor. This results in 12 CPUs. wmmon only supports 10. Can you please increase it. Attached is a patch that increases it to 12, but it is not test