git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f76f3b
)
timeval: Don't issue poll interval warnings when we warp time.
author
Ben Pfaff
<blp@nicira.com>
Fri, 1 Feb 2013 18:25:51 +0000
(10:25 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 11 Feb 2013 21:22:30 +0000
(13:22 -0800)
It's not meaningful in that case.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/timeval.c
patch
|
blob
|
history
diff --git
a/lib/timeval.c
b/lib/timeval.c
index
ef9c8fe
..
2f00355
100644
(file)
--- a/
lib/timeval.c
+++ b/
lib/timeval.c
@@
-516,7
+516,7
@@
log_poll_interval(long long int last_wakeup)
{
long long int interval = time_msec() - last_wakeup;
- if (interval >= 1000) {
+ if (interval >= 1000
&& !warp_offset.tv_sec && !warp_offset.tv_nsec
) {
const struct rusage *last_rusage = get_recent_rusage();
struct rusage rusage;