On Tue, 2010-08-24 at 18:59 +0800, Julien Cristau wrote: > 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*.
Understand. And it looks more reasonable to check the CLOCK_MONOTONIC on the *target* again. Is it better that the check of CLOCK_MONOTONIC posix timer is put into another separated patch? Otherwise it will be mixed with the usage of CLOCK_MONOTONIC_COARSE posix timer. Thanks. > > Cheers, > Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
