[RFC] use CLOCK_MONOTONIC_COARSE posix timer instead of CLOCK_MONOTONIC when calling the function of clock_gettime in xserver/os/util.c

ykzhao yakui.zhao at intel.com
Thu Aug 12 17:06:51 PDT 2010


On Thu, 2010-08-12 at 22:47 +0800, Adam Jackson wrote:
> On Thu, 2010-08-12 at 09:47 +0800, ykzhao wrote:
> 
> > We tried one debug patch that uses the CLOCK_MONOTONIC_COARSE timer
> > instead of CLOCK_MONOTONIC in xserver/os/utils.c. 
> 
> It sure would be nice if CLOCK_MONOTONIC_COARSE were documented in the
> manual page for clock_gettime().  This is the first I've heard of it.

Now it is not documented in the manual page of clock_gettime.

But the CLOCK_MONOTONIC_COARSE is already defined in the header file
of /usr/include/linux/time.h.

Best regards.
    Yakui.

> 
> - ajax



More information about the xorg-devel mailing list