Re: New time code miscalculates cpu usage

2007-10-25 Thread Sergei Shtylyov
Hello. Benjamin Herrenschmidt wrote: >>>Not sure when this started happening, but I wanted to report it. I'll >>>start bisecting in a day or two if noone else has gotten around to >>>looking at it: >>>$ echo "int main(void) { while(1); }" > test.c ; gcc test.c >>>$ time ./a.out & sleep 2 ; killa

Re: New time code miscalculates cpu usage

2007-10-24 Thread Benjamin Herrenschmidt
On Thu, 2007-10-25 at 10:19 +1000, Paul Mackerras wrote: > Benjamin Herrenschmidt writes: > > > Your input would be much more valuable if you actually pointed out where > > that happens and why since you seem to know it. > > He did already, a couple of messages ago. Allright, I missed that. Be

Re: New time code miscalculates cpu usage

2007-10-24 Thread Paul Mackerras
Benjamin Herrenschmidt writes: > Your input would be much more valuable if you actually pointed out where > that happens and why since you seem to know it. He did already, a couple of messages ago. Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: New time code miscalculates cpu usage

2007-10-24 Thread Benjamin Herrenschmidt
On Thu, 2007-10-25 at 00:17 +0400, Sergei Shtylyov wrote: > Hello. > > Olof Johansson wrote: > > > Not sure when this started happening, but I wanted to report it. I'll > > start bisecting in a day or two if noone else has gotten around to > > looking at it: > > > $ echo "int main(void) { while

Re: New time code miscalculates cpu usage

2007-10-24 Thread Sergei Shtylyov
Hello. Olof Johansson wrote: > Not sure when this started happening, but I wanted to report it. I'll > start bisecting in a day or two if noone else has gotten around to > looking at it: > $ echo "int main(void) { while(1); }" > test.c ; gcc test.c > $ time ./a.out & sleep 2 ; killall a.out > re

Re: New time code miscalculates cpu usage

2007-10-24 Thread Olof Johansson
On Wed, Oct 17, 2007 at 04:07:48PM +1000, Tony Breeds wrote: > On Tue, Oct 16, 2007 at 03:25:25PM -0500, Olof Johansson wrote: > > Hi, > > > > Not sure when this started happening, but I wanted to report it. I'll > > start bisecting in a day or two if noone else has gotten around to > > looking at

Re: New time code miscalculates cpu usage

2007-10-16 Thread Tony Breeds
On Tue, Oct 16, 2007 at 03:25:25PM -0500, Olof Johansson wrote: > Hi, > > Not sure when this started happening, but I wanted to report it. I'll > start bisecting in a day or two if noone else has gotten around to > looking at it: > > $ echo "int main(void) { while(1); }" > test.c ; gcc test.c > $

New time code miscalculates cpu usage

2007-10-16 Thread Olof Johansson
Hi, Not sure when this started happening, but I wanted to report it. I'll start bisecting in a day or two if noone else has gotten around to looking at it: $ echo "int main(void) { while(1); }" > test.c ; gcc test.c $ time ./a.out & sleep 2 ; killall a.out real0m2.008s user0m4.014s sys