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:
parent
ff6c6d5e50
commit
8acf5de68c
3 changed files with 0 additions and 14 deletions
|
@ -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);
|
||||
|
||||
|
|
11
lib/stats.c
11
lib/stats.c
|
@ -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) {
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue