! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Tooltip shows wrong cpu usage
Status:
RESOLVED: FIXED
Product:
Xfce4-cpugraph-plugin
Component:
General

Comments

Description Raphael Groner 2009-01-08 21:45:20 CET
Kernel version 2.6.27.10 and older ones tested.

Appears in vertical and horizontal panel.

Zenwalk 5.4 snapshot (XFCE 4.6 beta)

raphael@lampe ~ % cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping	: 6
cpu MHz		: 1595.992
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 3191.98
clflush size	: 64
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping	: 6
cpu MHz		: 1595.992
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 3191.36
clflush size	: 64
power management:

raphael@lampe ~ % cat /proc/stat 
cpu  185124 3184 168612 2086896 229237 3572 4005 0 0
cpu0 98986 1368 102177 906567 190430 3572 3906 0 0
cpu1 86138 1815 66434 1180328 38807 0 99 0 0
intr 18573327 169 32784 0 0 0 0 0 0 1 0 0 0 673512 0 135482 0 2225433 0 0 572099 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 29180825
btime 1231437913
processes 54816
procs_running 1
procs_blocked 0

raphael@lampe ~ % uname -a
Linux lampe 2.6.27.10 #1 SMP PREEMPT Thu Dec 18 21:57:50 CET 2008 i686 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz GenuineIntel GNU/Linux

raphael@lampe ~/svn/xfce4-cpugraph-plugin % svn info
Pfad: .
URL: http://svn.xfce.org/svn/goodies/xfce4-cpugraph-plugin/trunk
Basis des Projektarchivs: http://svn.xfce.org/svn/goodies
UUID des Projektarchivs: 6bd62a53-d0f8-0310-92b8-b27fb566919e
Revision: 6415
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: maximilian
Letzte geänderte Rev: 6367
Letztes Änderungsdatum: 2008-12-25 20:20:40 +0100 (Do, 25. Dez 2008)
Comment 1 Raphael Groner 2009-01-08 21:47:55 CET
Created attachment 2074 
cpugraph in action with wrong tooltip text
Comment 2 Raphael Groner 2009-01-09 12:35:34 CET
Happens also on my netbook here ...

raphael@schlebby ~ % uname -a
Linux schlebby 2.6.27.10 #1 SMP PREEMPT Thu Dec 18 21:57:50 CET 2008 i686 Intel(R) Atom(TM) CPU N270   @ 1.60GHz GenuineIntel GNU/Linux
raphael@schlebby ~ % cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
stepping	: 2
cpu MHz		: 1599.997
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm
bogomips	: 3199.99
clflush size	: 64
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
stepping	: 2
cpu MHz		: 1599.997
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm
bogomips	: 3199.52
clflush size	: 64
power management:

raphael@schlebby ~ % cat /proc/stat 
cpu  118965 1370 31219 623374 6602 1307 401 0 0
cpu0 61830 712 15122 297502 4906 1307 343 0 0
cpu1 57135 657 16097 325871 1696 0 57 0 0
intr 7158264 2314801 5891 0 0 0 0 0 13 0 192719 0 0 708831 0 0 0 162195 6719 0 0 0 0 0 23350 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 113366 59203 0 0
ctxt 5264469
btime 1231500724
processes 9909
procs_running 2
procs_blocked 0
Comment 3 Raphael Groner 2009-03-19 20:38:08 CET
Created attachment 2245 
another screen shot
Comment 4 Raphael Groner 2009-03-19 21:04:48 CET
Also still happens here. Bug is open since months.... 

ANY IMPORTANT INFORMATION MISSING? Please tell if so and do not hesitate to ask for.

root[raphael]# uname -a
Linux spritty 2.6.28.7 #1 SMP PREEMPT Sat Feb 21 09:44:58 CET 2009 i686 Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz GenuineIntel GNU/Linux
root[raphael]# cat /etc/zen
zendo.conf       zendo.conf.new   zenwalk-version  
root[raphael]# cat /etc/zenwalk-version 
Zenwalk 6.0
root[raphael]# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz
stepping	: 10
cpu MHz		: 2800.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips	: 5600.15
clflush size	: 64
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz
stepping	: 10
cpu MHz		: 1603.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm
bogomips	: 5599.13
clflush size	: 64
power management:

root[raphael]# cat /proc/stat 
cpu  452771 56 63113 5706497 18975 2491 1586 0 0
cpu0 232164 22 32477 2786726 15816 2491 1438 0 0
cpu1 220606 34 30636 2919771 3158 0 147 0 0
intr 28795875 123 2 0 0 0 0 0 2 0 0 0 0 1241146 0 323779 0 0 0 0 1900 0 648536 1942085 1432557 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3919844 211466 0 0 0
ctxt 43311494
btime 1237465829
processes 121324
procs_running 3
procs_blocked 0

root[raphael]# /home/raphael/svn/xfce4-cpugraph-plugin/ svn info
bash: /home/raphael/svn/xfce4-cpugraph-plugin/: is a directory
root[raphael]# cd /home/raphael/svn/xfce4-cpugraph-plugin/ && svn info
Pfad: .
URL: http://svn.xfce.org/svn/goodies/xfce4-cpugraph-plugin/trunk
Basis des Projektarchivs: http://svn.xfce.org/svn/goodies
UUID des Projektarchivs: 6bd62a53-d0f8-0310-92b8-b27fb566919e
Revision: 6951
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: maximilian
Letzte geänderte Rev: 6902
Letztes Änderungsdatum: 2009-03-14 16:26:30 +0100 (Sa, 14. Mär 2009)
Comment 5 Florian Rivoal editbugs 2010-04-17 14:46:10 CEST
There was a mistake in converting floating point to integers. Should be fine now.

Bug #4791

Reported by:
Raphael Groner
Reported on: 2009-01-08
Last modified on: 2010-10-03

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

cpugraph in action with wrong tooltip text (138.29 KB, image/png)
2009-01-08 21:47 CET , Raphael Groner
no flags
another screen shot (124.11 KB, image/png)
2009-03-19 20:38 CET , Raphael Groner
no flags

Additional information