[PATCH] os: Actually use the computed clockid in GetTimeInMicros

Keith Packard keithp at keithp.com
Tue Nov 5 08:07:51 PST 2013


Julien Cristau <jcristau at debian.org> writes:

> -    if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
> +    if (clockid != ~0L && clock_gettime(clockid, &tp) == 0)
>          return (CARD64) tp.tv_sec * (CARD64)1000000 + tp.tv_nsec / 1000;

Merged.
   aaf0e29..5f1e832  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131105/d3d5065e/attachment.pgp>


More information about the xorg-devel mailing list