public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: john stultz <johnstul@us.ibm.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][2.5] hangcheck-timer
Date: Tue, 21 Jan 2003 09:29:41 -0800	[thread overview]
Message-ID: <20030121172941.GT20972@ca-server1.us.oracle.com> (raw)
In-Reply-To: <1043117157.32472.116.camel@w-jstultz2.beaverton.ibm.com>

On Mon, Jan 20, 2003 at 06:45:57PM -0800, john stultz wrote:
> > 	I'll look into it, but it must absolutely be in terms of wall
> > clock time as measured from outside the system.
> 
> Completely understandable. do_gettimeofday will give you just that (w/o
> the conversion muck w/ HZ and loops_per_jiffy). 

	It looks as though gettimeofday calculates wall time from
jiffies.  If you udelay(), jiffies doesn't increment and you lose time
(this is exactly what I'm trying to track here).  How does gettimeofday
avoid this (maybe I'm misreading the code)?  

Joel

-- 

"Can any of you seriously say the Bill of Rights could get through
 Congress today?  It wouldn't even get out of committee."
	- F. Lee Bailey

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

  reply	other threads:[~2003-01-21 17:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200301210135.h0L1ZFa06867@eng2.beaverton.ibm.com>
2003-01-21  1:42 ` [PATCH][2.5] hangcheck-timer john stultz
2003-01-21  2:00   ` Joel Becker
2003-01-21  2:45     ` john stultz
2003-01-21 17:29       ` Joel Becker [this message]
2003-01-21 20:03         ` john stultz
2003-01-21 20:30           ` Joel Becker
2003-01-21  1:19 Joel Becker
2003-01-21  8:11 ` Christoph Hellwig
2003-01-21 17:33   ` Joel Becker
2003-01-21 12:50 ` Dave Jones
2003-01-21 17:40   ` Joel Becker
2003-01-21 17:42     ` Dave Jones
2003-01-21 18:42       ` Joel Becker

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=20030121172941.GT20972@ca-server1.us.oracle.com \
    --to=joel.becker@oracle.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@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