From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: sched_clock
Date: Fri, 04 Jun 2004 22:23:41 +0000 [thread overview]
Message-ID: <16576.63085.459570.276414@napali.hpl.hp.com> (raw)
In-Reply-To: <40B4868F.B649611C@nospam.org>
>>>>> On Fri, 4 Jun 2004 05:43:08 -0400 (EDT), Ingo Molnar <mingo@redhat.com> said:
Ingo> On Thu, 3 Jun 2004, David Mosberger wrote:
>> Ingo, is there something on x86 that guarantees that the
>> cycle-counter will start out near zero at boot time?
Ingo> it starts at zero, but there's no guarantee as far as i
Ingo> know. Would there be any reason for it to start at another
Ingo> reason?
I was thinking that firmware might do some testing of the
cycle-counter and then leave the counter in an indeterminate state.
It's reasonable to expect that the firmware would clear the counter to
zero afterwards, but since it's not required by the specs, I wouldn't
want to _rely_ on it (especially if the resulting errors could be
obscure). I think I'll go ahead and clear the cycle-counter in
cpu_init(). That ought to be safe.
--david
next prev parent reply other threads:[~2004-06-04 22:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 11:59 sched_clock Zoltan Menyhart
2004-06-03 22:46 ` sched_clock David Mosberger
2004-06-04 9:43 ` sched_clock Ingo Molnar
2004-06-04 11:02 ` sched_clock Andi Kleen
2004-06-04 11:11 ` sched_clock Zoltan Menyhart
2004-06-04 22:23 ` David Mosberger [this message]
2004-06-04 22:52 ` sched_clock David Mosberger
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=16576.63085.459570.276414@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox