mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
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
This commit is contained in:
parent
764531787a
commit
6a069c1a4f
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue