From: Jim Houston <jim.houston@attbi.com>
To: johnstul@us.ibm.com
Cc: george@mvista.com, linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH] linux-2.5.64_monotonic-clock_A1
Date: Tue, 11 Mar 2003 21:57:40 -0500 [thread overview]
Message-ID: <3E6EA224.EA0C3925@attbi.com> (raw)
Hi John,
I like the idea of making the monotonic clock use the same
mechanism as the normal timeofday clock.
When I was doing my alternative Posix timers patch, I modified
your get_offset() mechanism to return nanoseconds and added a
"struct time_spec ytime" which was updated in the same place as
xtime but was never set.
You might have a look at my patch archived here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=104006731324824&w=2
Look for the function do_gettime_sinceboot_ns(). You don't have to
keep the monotonic time in cycles. It
would be nice if the timeofday clock was defined as the monotonic
clock + an offset.
Also, if I had one of those cyclone counters, I would never look at
the PIT again.
Jim Houston - Concurrent Computer Corp.
next reply other threads:[~2003-03-12 2:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 2:57 Jim Houston [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-11 19:39 [RFC][PATCH] linux-2.5.64_monotonic-clock_A1 john stultz
2003-03-11 19:40 ` john stultz
2003-03-11 21:47 ` george anzinger
2003-03-11 21:58 ` john stultz
2003-03-11 22:39 ` george anzinger
2003-03-11 22:59 ` john stultz
2003-03-11 23:44 ` george anzinger
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=3E6EA224.EA0C3925@attbi.com \
--to=jim.houston@attbi.com \
--cc=george@mvista.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