Ed Swierk aaf10d9d2e 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>
2009-07-27 14:09:15 -05:00
..
2009-06-29 08:52:49 -05:00
2009-07-01 19:11:17 +00:00
2009-06-29 08:52:49 -05:00
2009-06-29 08:52:46 -05:00
2009-07-01 19:11:17 +00:00
2009-07-01 19:11:17 +00:00