Commit 8f31894f authored by Joanne Hugé's avatar Joanne Hugé

Print intervals in milliseconds

parent 4982307e
...@@ -224,16 +224,16 @@ int main(int argc, char *argv[]) { ...@@ -224,16 +224,16 @@ int main(int argc, char *argv[]) {
int jitter = ingress_stats.max_interval - ingress_stats.min_interval; int jitter = ingress_stats.max_interval - ingress_stats.min_interval;
printf("%10" PRIu64 ": J: %4d, I: %4d %4d %4d", printf("%10" PRIu64 ": J: %4d, I (ms): %4d %4d %4d",
ingress_stats.packets_received, ingress_stats.packets_received,
jitter, jitter,
ingress_stats.min_interval, ingress_stats.min_interval / 1000,
ingress_stats.avg_interval, ingress_stats.avg_interval / 1000,
ingress_stats.max_interval); ingress_stats.max_interval / 1000);
if (enable_timestamps) { if (enable_timestamps) {
printf(", K: %4d %4d %4d, D: %5s, L: %4d\n", printf(", K : %4d %4d %4d, D: %5s, L: %4d\n",
ingress_stats.min_kernel_latency, ingress_stats.min_kernel_latency,
ingress_stats.avg_kernel_latency, ingress_stats.avg_kernel_latency,
ingress_stats.max_kernel_latency, ingress_stats.max_kernel_latency,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment