Message ID | 1575602773-11901-2-git-send-email-Lance.Yang@arm.com |
---|---|
State | Accepted |
Headers | show |
Series | Fix issues and enable Travis CI on arm | expand |
diff --git a/lib/dpif-netdev-perf.c b/lib/dpif-netdev-perf.c index baf90b0..58728ab 100644 --- a/lib/dpif-netdev-perf.c +++ b/lib/dpif-netdev-perf.c @@ -76,7 +76,7 @@ pmd_perf_estimate_tsc_frequency(void) break; } } - + memset(&s, 0, sizeof s); start = cycles_counter_update(&s); /* Using xnanosleep as it's interrupt resistant. * Sleeping only 100 ms to avoid holding the main thread for too long. */