Re: CFS-v16: top shows incorrect CPU% for multi-threaded application

2007-06-16 Thread Török Edvin
On 6/13/07, Török Edvin <[EMAIL PROTECTED]> wrote: Hi, When I run a multithreaded application, consisting of a "main thread" that is mostly idle, and 3 "worker threads" (using as much CPU as they can get), 'top' and 'ps' show that the application uses 0% CPU. If I turn off thread details in top,

CFS-v16: top shows incorrect CPU% for multi-threaded application

2007-06-13 Thread Török Edvin
Hi, When I run a multithreaded application, consisting of a "main thread" that is mostly idle, and 3 "worker threads" (using as much CPU as they can get), 'top' and 'ps' show that the application uses 0% CPU. If I turn off thread details in top, and ps it correctly shows the CPU usage of each thr