From a9408e799ddbb74b5476fba70a495770322cd327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Sat, 11 Jan 2020 15:04:55 +0000 Subject: [PATCH] Show beat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- src/path.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/path.c b/src/path.c index 86cff36..5288b19 100644 --- a/src/path.c +++ b/src/path.c @@ -40,6 +40,7 @@ gt_path_print_status(struct mud_path *path, int term) " rtt: %.3f ms\n" " rttvar: %.3f ms\n" " rate: %s\n" + " beat: %"PRIu64" ms\n" " tx:\n" " rate: %"PRIu64" bytes/sec\n" " loss: %"PRIu64" percent\n" @@ -52,6 +53,7 @@ gt_path_print_status(struct mud_path *path, int term) " %s %"PRIu16" %s %"PRIu16" %s %"PRIu16 " %zu %.3f %.3f" " %s" + " %"PRIu64 " %"PRIu64" %"PRIu64" %"PRIu64 " %"PRIu64" %"PRIu64" %"PRIu64 "\n", @@ -67,6 +69,7 @@ gt_path_print_status(struct mud_path *path, int term) (double)path->rtt.val / 1e3, (double)path->rtt.var / 1e3, path->conf.fixed_rate ? "fixed" : "auto", + path->conf.beat / 1000, path->tx.rate, path->tx.loss * 100 / 255, path->tx.total,