diff --git a/server/include/utils.h b/server/include/utils.h index 43024c241..5f12fee73 100644 --- a/server/include/utils.h +++ b/server/include/utils.h @@ -72,7 +72,7 @@ double timespec_delta(struct timespec *start, struct timespec *end); struct timespec timespec_rate(double rate); /** Print ASCII style plot of histogram */ -void hist_print(unsigned *hist, int length); +void hist_plot(unsigned *hist, int length); /** Dump histogram data in Matlab format */ void hist_dump(unsigned *hist, int length); diff --git a/server/src/path.c b/server/src/path.c index e94bb8cb5..9ec6d8233 100644 --- a/server/src/path.c +++ b/server/src/path.c @@ -149,7 +149,7 @@ int path_stop(struct path *p) if (p->received) { path_stats(p); - hist_print(p->histogram, HIST_SEQ); + hist_plot(p->histogram, HIST_SEQ); hist_dump(p->histogram, HIST_SEQ); } diff --git a/server/src/utils.c b/server/src/utils.c index 217af10da..b04003774 100644 --- a/server/src/utils.c +++ b/server/src/utils.c @@ -122,7 +122,7 @@ struct timespec timespec_rate(double rate) return ts; } -void hist_print(unsigned *hist, int length) +void hist_plot(unsigned *hist, int length) { char buf[HIST_HEIGHT + 32]; int bar;