Re: more precise CPU time accounting for x86

2007-03-17 Thread Stephen Rothwell
Hi Tomasz, On Sat, 17 Mar 2007 16:47:22 +0100 Tomasz Noiński <[EMAIL PROTECTED]> wrote: > > I've written a small patch for more precise process CPU time accounting > for processors with TSC. You should have a look at the CONFIG_VIRT_CPU_ACCOUNTING on s390 and powerpc. -- Cheers, Stephen Rothwell

Re: more precise CPU time accounting for x86

2007-03-17 Thread Andi Kleen
Tomasz Noiński <[EMAIL PROTECTED]> writes: > Hi, > > I've written a small patch for more precise process CPU time accounting > for processors with TSC. > > Currently, accounting is sample-based and it can be fooled by, for > example, a process that always gives away the rest of it's timeslice.

more precise CPU time accounting for x86

2007-03-17 Thread Tomasz Noiński
Hi, I've written a small patch for more precise process CPU time accounting for processors with TSC. Currently, accounting is sample-based and it can be fooled by, for example, a process that always gives away the rest of it's timeslice. Instead of a sample-base approach, in this approach I incre