ofproto-dpif: Compute the subfacet add/del rate using coverage counters.
authorAlex Wang <alexw@nicira.com>
Tue, 1 Oct 2013 01:32:44 +0000 (18:32 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 1 Oct 2013 20:09:23 +0000 (13:09 -0700)
commit264ac358d952eef06a3d8d86ee856a478667ba68
treee50f6d9d1409b488a8385296516cbc3a3cc7c1e2
parent98cf638b19c2a5deca603fd4ed90e3b0cbfc7b7e
ofproto-dpif: Compute the subfacet add/del rate using coverage counters.

So far, the subfacet rates (e.g. add rate, del rate) are computed by
exponential moving averaging function in ofproto-dpif.c.  This commit
replaces that logic with coverage counters.  And the rates can be
checked by running "ovs-appctl coverage/show" command.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c
tests/ofproto-dpif.at
tests/tunnel.at