Hello all,

A peer of mine is developing a multi-platform C++ application, and would
like to test the CPU usage difference of the application between Windows and
Linux. However, running `top` shows him that his single process is using 20%
CPU, whereas the total CPU usage is only 0.5%-2%. This is a quad-core
machine, so even dividing the 20% by 4 will give 5%, which is still far too
high. Windows gives him a satisfactory measurement of this statistic. Can
anyone here explain why this happens?

-- 
Man is the only animal that laughs and weeps, for he is the only animal that
is struck with the difference between what things are and what they ought to
be.
 - William Hazlitt

Ohad Lutzky
_______________________________________________
Haifux mailing list
[email protected]
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux

Reply via email to