Files
xserver/dix
Adam Jackson 137ac094e7 dix: Push UpdateCurrentTimeIf down out of the main loop
This was added in:

    commit 312910b4e3
    Author: Chase Douglas <chase.douglas@canonical.com>
    Date:   Wed Apr 18 11:15:40 2012 -0700

        Update currentTime in dispatch loop

Unfortunately this is equivalent to calling GetTimeInMillis() once per
request. In the absolute best case (as on Linux) you're only hitting the
vDSO; on other platforms that's a syscall. Either way it puts a pretty
hard ceiling on request throughput.

Instead, push the call down to the requests that need it; basically,
grab processing and event generation.

Cc: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-05-04 10:58:01 -04:00
..
2015-07-08 16:41:29 -04:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2015-06-30 12:17:51 +10:00
2014-11-12 10:25:00 +10:00
2016-02-29 14:33:11 -05:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2015-11-24 11:36:34 +10:00
2014-11-12 10:25:00 +10:00
2015-04-21 16:57:07 -07:00
2015-11-24 11:36:32 +10:00
2016-04-18 11:22:58 -04:00
2013-07-23 23:56:58 +01:00
2016-04-22 14:32:30 +10:00
2013-07-23 23:56:58 +01:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00
2014-11-12 10:25:00 +10:00