diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-25 23:57:00 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-25 23:57:00 +0300 |
commit | d285833290316cb5dd1e7f1e52c96be3e9cf21cd (patch) | |
tree | 258518cf947e4ec1b37d1536cb36c5fedadf7cd9 /Xext/xprint.c | |
parent | d3e57faffee63df1424a209d0418d3a712f91ae6 (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