[ovs-dev] [PATCH 0/7] Introduce high resolution sleep support.

Bhanuprakash Bodireddy bhanuprakash.bodireddy at intel.com
Wed Nov 8 16:35:52 UTC 2017


This patchset introduces high resolution sleep support for linux and windows.
Also time macros are introduced to replace the numbers with meaningful
names.

Bhanuprakash Bodireddy (7):
  timeval: Introduce macros to convert timespec and timeval.
  util: Add high resolution sleep support.
  util: High resolution sleep support for windows.
  util: Use MSEC_PER_SEC macro.
  ofproto: Use time macros.
  mac-learning: Use MSEC_PER_SEC Macro.
  pcap-file: Use time macros.

 lib/mac-learning.c           |  2 +-
 lib/mcast-snooping.c         |  4 ++--
 lib/pcap-file.c              |  2 +-
 lib/timeval.c                | 48 ++++++++++++++++++++++++++++++++------------
 lib/timeval.h                |  8 ++++++++
 lib/util.c                   | 42 +++++++++++++++++++++++++++++++++++---
 lib/util.h                   |  1 +
 ofproto/ofproto-dpif-ipfix.c | 12 +++++------
 ofproto/ofproto-dpif-sflow.c |  2 +-
 9 files changed, 94 insertions(+), 27 deletions(-)

-- 
2.4.11



More information about the dev mailing list