public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Timer idea
@ 2005-11-15 17:24 evan
  2005-11-15 18:20 ` Kenichi Okuyama
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: evan @ 2005-11-15 17:24 UTC (permalink / raw)
  To: linux-kernel

I was thinking about benchmarking, profiling, and various other applications
that might need frequent access to the current time.  Polling timers or
frequent timer signal delivery both seem like there would be a lot of overhead.
 I was thinking it would be nice if you could just read the time information
without making an OS call.

I figure the kernel keeps accurate records of current time information and the
values of various timers.  I then had the idea that one could have a /dev or
maybe a /proc entry that would allow you to mmap() the kernel records (read
only) and then you could read this information right from the kernel without
any overhead.

Comments?  Please CC me on replies.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-11-15 21:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 17:24 Timer idea evan
2005-11-15 18:20 ` Kenichi Okuyama
2005-11-15 18:58 ` George Anzinger
2005-11-15 19:12   ` john stultz
2005-11-15 19:13 ` linux-os (Dick Johnson)
2005-11-15 19:34   ` George Anzinger
2005-11-15 20:20   ` Christopher Friesen
2005-11-15 21:11     ` linux-os (Dick Johnson)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox