Commit aa3d0fb0 authored by Joanne Hugé's avatar Joanne Hugé

Add histogram names

parent d0881a60
......@@ -390,7 +390,7 @@ static void print_histograms() {
max_hist_val = histogram_max(histogram, MAX_RTT - 1);
}
printf("# Histogram\n");
printf("# Packet TX timestamps histogram\n");
for (int j = 0; j < max_hist_val; j++)
printf("%06d %015" PRIi64 "\n", j, histogram[j]);
......
......@@ -374,7 +374,7 @@ static void print_histograms() {
if (enable_timestamps) {
max_latency = histogram_max(kernel_latency_hist, MAX_KERNEL_LATENCY - 1);
printf("# Histogram\n");
printf("# Packet RX timestamps histogram\n");
for (int j = 0; j < max_latency; j++)
printf(" %06d %015" PRIi64 "\n", j, kernel_latency_hist[j]);
......@@ -386,7 +386,7 @@ static void print_histograms() {
}
printf("# Histogram\n");
printf("# Packet jitter histogram\n");
for (int j = min_jitter; j < max_jitter; j++)
printf(" %06d %015" PRIi64 "\n", j, jitter_hist[j]);
......
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