All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: paulus@samba.org, benh@kernel.crashing.org
Cc: linuxppc-dev@ozlabs.org
Subject: New time code miscalculates cpu usage
Date: Tue, 16 Oct 2007 15:25:25 -0500	[thread overview]
Message-ID: <20071016202525.GA11837@lixom.net> (raw)

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
real    0m2.008s
user    0m4.014s
sys     0m0.002s

Seen on POWER5 and PA6T, haven't tried anything else yet.


-Olof

             reply	other threads:[~2007-10-16 20:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16 20:25 Olof Johansson [this message]
2007-10-17  6:07 ` New time code miscalculates cpu usage Tony Breeds
2007-10-24 20:19   ` Olof Johansson
2007-10-24 20:17 ` Sergei Shtylyov
2007-10-24 21:56   ` Benjamin Herrenschmidt
2007-10-25  0:19     ` Paul Mackerras
2007-10-25  0:53       ` Benjamin Herrenschmidt
2007-10-25 12:46     ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071016202525.GA11837@lixom.net \
    --to=olof@lixom.net \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.