[ovs-dev] [RFC 08/10] ofproto-dpif: Use new ovs-thread-stats for rule_dpif stats

Ben Pfaff blp at nicira.com
Fri Oct 10 16:47:35 UTC 2014


On Wed, Oct 08, 2014 at 02:09:54PM -0700, Daniele Di Proietto wrote:
> Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>

Do you have any ideas on how to make the new thread stats code a little
more flexible, so that the awkward special case for clearing only some
stats in this patch can be avoided?  One idea would be to parameterize
the part of the stats structure that gets cleared by clear(),
e.g. provide an offset and length.



More information about the dev mailing list