From c23ea7962debe4e66fd3c0e7719117dcb7966d1f Mon Sep 17 00:00:00 2001 From: rbrunner7 Date: Thu, 21 Mar 2019 11:03:24 +0100 Subject: New interactive daemon command 'print_net_stats': Global traffic stats --- src/common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/util.h') diff --git a/src/common/util.h b/src/common/util.h index ef2305bf4..77a5a9af6 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -244,4 +244,6 @@ namespace tools void closefrom(int fd); std::string get_human_readable_timestamp(uint64_t ts); + + std::string get_human_readable_bytes(uint64_t bytes); } -- cgit v1.2.3