mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
timeval: Don't issue poll interval warnings when we warp time.
It's not meaningful in that case. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user