On Tue, 2010-08-24 at 09:16 +0800, Samuel Thibault wrote:
> ykzhao, le Tue 24 Aug 2010 09:07:49 +0800, a écrit :
> > +    static clockid_t clockid;
> > +    if (!clockid) {
> > +#ifdef __linux__
> > +#ifndef CLOCK_MONONOTIC_COARSE
> > +#define CLOCK_MONOTONIC_COARSE
> 
> If you don't provide the value 6 here, it's completely useless.

Yes. You are right. It should be "#define CLOCK_MONOTONIC_COARSE 6".
Sorry for my fault.

Thanks.
    Yakui
> 
> > +#endif
> > +   if ((clock_getres(CLOCK_MONOTONIC_COARSE, &tp) == 0) &&
> 
> Samuel

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to