Messages in this thread | | | Subject | Re: [PATCH] RTC: Add mmap method to rtc character driver | From | Keith Packard <> | Date | Sat, 29 Jul 2006 15:45:19 -0700 |
| |
On Sat, 2006-07-29 at 17:43 -0400, Neil Horman wrote:
> Sure, an mmaped jiffy counter would certainly be usefull. I think the only > thing left to be determined in this thread is if adding mmap to the rtc driver > has any merit regardless of any potential users (iow, would current users of > /dev/rtc find it helpful to have the rtc driver provide an mmap interface.)
A jiffy counter is sufficient for the X server; all I need is some indication that time has passed with a resolution of 10 to 20 ms. I check this after each X request is processed as that is the scheduling granularity. An X request can range in time from .1us to 100 seconds, so I really want to just check after each request rather than attempt some heuristic.
-- keith.packard@intel.com [unhandled content-type:application/pgp-signature] | |