aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-06-08 17:18:48 -0700
committerJesse Gross <jesse@nicira.com>2010-06-08 18:01:25 -0700
commitc73814a3e6cbdf8c4083ef1d510377e41cb82f6a (patch)
treec6f3e8196f5156b2643900ec3763cabeb1d3c7bb /configure.ac
parentc6f196a050aeae603f5d68ca065a72da9a8ec894 (diff)
timeval: Use monotonic time where appropriate.
Most of the timekeeping needs of OVS are simply to measure intervals, which means that it is sensitive to changes in the clock. This commit replaces the existing clocks with monotonic timers. An additional set of wall clock timers are added and used in locations that need absolute time. Bug #1858
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ba0aa2e9..2128c64c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,7 @@ AC_C_BIGENDIAN
AC_SYS_LARGEFILE
AC_SEARCH_LIBS([pow], [m])
+AC_SEARCH_LIBS([clock_gettime], [rt])
OVS_CHECK_COVERAGE
OVS_CHECK_NDEBUG