From 6a069c1a4fa665c716dee01e2d8af7a0e3945fcd Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 9 Sep 2014 11:11:29 +0000 Subject: [PATCH] renamed hist_print() to hist_plot() git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@228 8ec27952-4edc-4aab-86aa-e87bb2611832 --- server/include/utils.h | 2 +- server/src/path.c | 2 +- server/src/utils.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;