dpif: Add 'used' argument to dpif_flow_stats_extract().
authorBen Pfaff <blp@nicira.com>
Sat, 18 Aug 2012 06:27:39 +0000 (23:27 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Aug 2012 21:13:15 +0000 (14:13 -0700)
commita7752d4ab7a6e7e9aaf83678b57790fc1c56ac83
tree62fa284f92fb5490445d1ba159b3d92309af6e9c
parent00ed83143a0a2df95304926b4e8de3cdc9b89065
dpif: Add 'used' argument to dpif_flow_stats_extract().

The following commit will need to use a value other than a literal
time_msec() in one case.  This commit is just preparation.

Factoring the time_msec() call out of the loop in
handle_flow_miss_without_facet() is a really minor optimization.  It isn't
the main point here.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif.c