timeval: Correctly report usage statistics in log_poll_interval().
authorBen Pfaff <blp@nicira.com>
Wed, 11 Feb 2015 02:00:22 +0000 (18:00 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Feb 2015 23:01:21 +0000 (15:01 -0800)
commitf8438a401ca308d5849d79b2bf31d2218f537747
tree9fc58a94b30f956d7c7bf8ea6e18f73a35585437
parent9cbf012d44f09bab6a54be93e91eb2a7c8a6bc3b
timeval: Correctly report usage statistics in log_poll_interval().

Most of the information that timeval was reporting for long poll intervals
was comparing per-thread with per-process statistics, which yielded
nonsense a lot of the time.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
lib/timeval.c