Xserver and Gettimeofday

Xavier Bestel xavier.bestel at free.fr
Wed Aug 29 09:09:57 PDT 2007


On Wed, 2007-08-29 at 08:48 -0700, Alan Coopersmith wrote:
> Xavier Bestel wrote:
> > That's curious, after having looked at the code it seems the smart
> > scheduler uses only setitimer, not gettimeofday.
> > So apparently your problem comes from the driver.
> 
> GetTimeInMillis in os/utils.c was responsible for most of the
> gettimeofday() calls I knew of, but it was changed to use
> clock_gettime instead (on platforms that support it) last year.

Curious, when stracing clock_gettime() I get a syscall, so what's the
gain ?

	Xav





More information about the xorg mailing list