[PATCH] use CLOCK_MONOTONIC_COARSE posix timer instead of CLOCK_MONOTONIC in Xorg
Julien Cristau
jcristau at debian.org
Tue Aug 24 03:59:25 PDT 2010
On Tue, Aug 24, 2010 at 16:15:44 +0800, ykzhao wrote:
> I also agree that it is very pretty to get the time by using mentioned
> order. But the configure script already helps us to test whether the
> MONOTONIC_CLOCK is supported(It uses the CLOCK_MONOTONIC as the argument
> of clock_gettime).
> If so, maybe we can avoid some redundant check.
>
The configure check tells you whether CLOCK_MONOTONIC is defined on the
*build* system. That's not the same thing as telling you whether it
*works* on the *target*.
Cheers,
Julien
More information about the xorg-devel
mailing list