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.

> +#endif
> +     if ((clock_getres(CLOCK_MONOTONIC_COARSE, &tp) == 0) &&

Samuel
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to