[ovs-git] Open vSwitch: timeval: Use monotonic time where appropriate. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 9 01:41:44 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c73814a3e6cbdf8c4083ef1d510377e41cb82f6a (commit)
      from  c6f196a050aeae603f5d68ca065a72da9a8ec894 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c73814a3e6cbdf8c4083ef1d510377e41cb82f6a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c73814a3e6cbdf8c4083ef1d510377e41cb82f6a
Author: Jesse Gross <jesse at nicira.com>
		
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


-----------------------------------------------------------------------

Summary of changes:
 configure.ac                            |    1 +
 datapath/flow.c                         |    2 +-
 include/openvswitch/datapath-protocol.h |    2 +-
 lib/dpif-netdev.c                       |    8 +-
 lib/dynamic-string.c                    |    2 +-
 lib/netlink.c                           |    2 +-
 lib/timeval.c                           |  159 ++++++++++++++++++++++++++-----
 lib/timeval.h                           |   14 ++-
 lib/vlog.c                              |    2 +-
 ofproto/netflow.c                       |    6 +-
 ofproto/ofproto-sflow.c                 |    4 +-
 ovsdb/file.c                            |    2 +-
 tests/test-timeval.c                    |    4 +-
 13 files changed, 161 insertions(+), 47 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list