[PATCH resent] configure: introduce --{enable, disable}-syscall-clock

Eric Anholt eric at anholt.net
Fri Apr 16 12:39:40 PDT 2010


On Fri, 16 Apr 2010 15:10:19 +0300, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:
> Some Linux systems might not want to link against rt and pthread libraries
> simply to implement monotonic clock (GetTimeInMillis). For those, use a direct
> syscall instead. This is discouraged if someone doesn't know what's doing.
> 
> This patch keeps the new syscall version disabled by default - therefore not
> changing the original behaviour of the xserver build.
> 
> One, using this patch, should worry about a possible performance degradation
> due it's not going through optimized code in C library. Therefore, the simple
> program bellow (kudos to Adam Jackson) should performs equally in the practice,
> for both syscall and C library implementation:

I don't think we should do this until we've exhausted the avenue of
getting the call moved into glibc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100416/d432be41/attachment.pgp>


More information about the xorg-devel mailing list