Xserver and Gettimeofday

Alan Coopersmith alan.coopersmith at sun.com
Wed Aug 29 08:48:15 PDT 2007


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.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list