On Thu, Nov 18, 2010 at 22:08:27 +0100, Julien Cristau wrote:

> I think I mentioned this a while back on irc, but filing here for
> reference.  clock_gettime(CLOCK_MONOTONIC) is expensive, so people want
> to use CLOCK_MONOTONIC_COARSE instead.  See e.g.
> http://lists.x.org/pipermail/xorg-devel/2010-August/012483.html
> However X would like millisecond granularity, which means HZ=1000
> instead of the current 250, in order to be able to use the coarse timer.
> Maybe something to consider for wheezy?
> 
Patch is now in xserver master:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=44adb31bfece29260a9bbd9075c9212ebf00d24d

It only uses CLOCK_MONOTONIC_COARSE if its resolution is
sub-millisecond.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to