timeval: Make CPU usage and wakeup tracking per-thread.
authorBen Pfaff <blp@nicira.com>
Tue, 25 Jun 2013 20:56:40 +0000 (13:56 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Jul 2013 20:52:29 +0000 (13:52 -0700)
commit4c694ff7458a253ea7ff1fede2430a9d372aba34
tree782302d1d94c61c1f9db11e8aedfd68266632553
parent75f9c912f2400a90f9bb850cfc0624ac63711f08
timeval: Make CPU usage and wakeup tracking per-thread.

This should make the "timeval" module thread-safe, except for its
calls into vlog (because vlog is not yet thread-safe).

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ed Maste <emaste@freebsd.org>
lib/timeval.c