summaryrefslogtreecommitdiff
path: root/Xext/xprint.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-25 23:57:00 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-25 23:57:00 +0300
commitd285833290316cb5dd1e7f1e52c96be3e9cf21cd (patch)
tree258518cf947e4ec1b37d1536cb36c5fedadf7cd9 /Xext/xprint.c
parentd3e57faffee63df1424a209d0418d3a712f91ae6 (diff)
GetTimeInMillis: spuport monotonic clock
Add support for CLOCK_MONOTONIC from clock_gettime, and use that in GetTimeInMillis() if available, falling back to the old gettimeofday() implementation. This is _slightly_ faster on some 64-bit architectures, and _slightly_ slower on others (though barely measurable).
Diffstat (limited to 'Xext/xprint.c')
0 files changed, 0 insertions, 0 deletions