diff options
author | Ben Pfaff <blp@nicira.com> | 2012-08-17 23:27:39 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-08-21 14:13:15 -0700 |
commit | a7752d4ab7a6e7e9aaf83678b57790fc1c56ac83 (patch) | |
tree | 62fa284f92fb5490445d1ba159b3d92309af6e9c /lib/dpif.h | |
parent | 00ed83143a0a2df95304926b4e8de3cdc9b89065 (diff) |
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>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r-- | lib/dpif.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ struct dpif_flow_stats { }; void dpif_flow_stats_extract(const struct flow *, const struct ofpbuf *packet, - struct dpif_flow_stats *); + long long int used, struct dpif_flow_stats *); void dpif_flow_stats_format(const struct dpif_flow_stats *, struct ds *); enum dpif_flow_put_flags { |