diff options
author | Ed Swierk <eswierk@aristanetworks.com> | 2009-07-23 14:13:34 -0700 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-29 11:38:07 -0500 |
commit | f833ef2133d8f80bc236e98467d6baf43b377a8c (patch) | |
tree | 6df5077da786f42581139728fcacd5d26ff9add6 /sdl_keysym.h | |
parent | 8568d307a7db11a176a5b97270cc905a20feafa3 (diff) |
slirp: Use monotonic clock if available (v2)
Calling gettimeofday() to compute a time interval can cause problems if
the system clock jumps forwards or backwards; replace updtime() with
qemu_get_clock(rt_clock), which calls clock_gettime(CLOCK_MONOTONIC) if
it is available.
Also remove some useless macros.
Signed-off-by: Ed Swierk <eswierk@aristanetworks.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sdl_keysym.h')
0 files changed, 0 insertions, 0 deletions