Re: [ovs-dev] [resubmit 2/4] ofproto: Display idle time in bridge/dump-flows.

2011-02-14 Thread Ben Pfaff
On Mon, Feb 14, 2011 at 03:39:29PM -0800, Ethan Jackson wrote: > ds_put_format(results, "duration=%llds, ", >(time_msec() - rule->created) / 1000); > +ds_put_format(results, "idle=%.3fs, ", (time_msec() - rule->used) / > 1000.0); > ds_put_format(results, "priority

[ovs-dev] [resubmit 2/4] ofproto: Display idle time in bridge/dump-flows.

2011-02-14 Thread Ethan Jackson
--- ofproto/ofproto.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 88cae75..589f80c 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3664,6 +3664,7 @@ flow_stats_ds(struct ofproto *ofproto, struct rule *rule, struct

Re: [ovs-dev] [resubmit 2/4] ofproto: Display idle time in bridge/dump-flows.

2011-02-14 Thread Ben Pfaff
On Mon, Feb 14, 2011 at 02:05:59PM -0800, Ethan Jackson wrote: > diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c > index 305af35..3a74f79 100644 > --- a/ofproto/ofproto.c > +++ b/ofproto/ofproto.c > @@ -3664,6 +3664,7 @@ flow_stats_ds(struct ofproto *ofproto, struct rule > *rule, struct ds *res

[ovs-dev] [resubmit 2/4] ofproto: Display idle time in bridge/dump-flows.

2011-02-14 Thread Ethan Jackson
--- ofproto/ofproto.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 305af35..3a74f79 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3664,6 +3664,7 @@ flow_stats_ds(struct ofproto *ofproto, struct rule *rule, struct