summaryrefslogtreecommitdiff
path: root/src/sna/sna_trapezoids.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-29 11:06:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-29 11:06:33 +0100
commite6f9bfe1e20c4c76822d77598f4f1c7e10754929 (patch)
treeb6cc594ee362e2e9f2c99e983069fc3573357203 /src/sna/sna_trapezoids.c
parentc6c4f30e194eb3b8a2421134bb005f1542b3ef9f (diff)
sna: Use currentTime rather than GetTimeInMillis()
The overhead of reading the hpet() on every block handler (more or less) is exorbitant, so trust that we update currentTime frequently enough to be a good approximation - the side effect is that we will wakeup slightly to earlier from using an old value for the current time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
0 files changed, 0 insertions, 0 deletions