ovs-thread: Replace ovsthread_counter by more general ovsthread_stats.
authorBen Pfaff <blp@nicira.com>
Wed, 19 Mar 2014 14:47:12 +0000 (07:47 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 19 Mar 2014 14:47:12 +0000 (07:47 -0700)
commit51852a57a03f1e14e10601e2c8a9ef8bca224b24
tree7c06ca199a22878188578d853d23b8c74417e3e0
parent2fec66dbb5493ee5815507d47796f84c35181dd0
ovs-thread: Replace ovsthread_counter by more general ovsthread_stats.

This allows clients to do more than just increment a counter.  The
following commit will make the first use of that feature.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/dpif-netdev.c
lib/ovs-thread.c
lib/ovs-thread.h