1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

stats: remove table footer

This commit is contained in:
Steffen Vogel 2019-01-22 16:04:12 +01:00
parent ff6c6d5e50
commit 8acf5de68c
3 changed files with 0 additions and 14 deletions

View file

@ -90,7 +90,6 @@ json_t * stats_json(struct stats *s);
void stats_reset(struct stats *s);
void stats_print_header(enum stats_format fmt);
void stats_print_footer(enum stats_format fmt);
void stats_print_periodic(struct stats *s, FILE *f, enum stats_format fmt, int verbose, struct node *p);

View file

@ -149,17 +149,6 @@ void stats_print_header(enum stats_format fmt)
}
}
void stats_print_footer(enum stats_format fmt)
{
switch (fmt) {
case STATS_FORMAT_HUMAN:
table_footer(&stats_table);
break;
default: { }
}
}
void stats_print_periodic(struct stats *s, FILE *f, enum stats_format fmt, int verbose, struct node *n)
{
switch (fmt) {

View file

@ -474,8 +474,6 @@ void SuperNode::stop()
#ifdef WITH_HOOKS
if (stats > 0) {
stats_print_footer(STATS_FORMAT_HUMAN);
ret = task_destroy(&task);
if (ret)
throw RuntimeError("Failed to stop stats timer");