timeval: Rate-limit logging rusage information.
authorBen Pfaff <blp@nicira.com>
Fri, 20 Apr 2012 20:43:54 +0000 (13:43 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 26 Apr 2012 21:06:27 +0000 (14:06 -0700)
commitc563de0e389f42164d4f7bf76845dced4590a18c
tree25930e6cf17730147e55a78b578c0a2192ec4bcf
parent906bb3d008877607cea048d299aefd13c2f11b04
timeval: Rate-limit logging rusage information.

I'd always assumed that the exponentially weighted moving average code
here was sufficient rate-limiting, but I actually encountered a
pathological case some time ago that forced this rusage information to
print once a second or so, which seems too often.

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