Show latency-smoothed maxrate per path
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
2
mud
2
mud
Submodule mud updated: a7044db87c...b2e4bc1b8f
@@ -54,8 +54,8 @@ gt_path_status(int fd)
|
|||||||
" mtu: %zu bytes\n"
|
" mtu: %zu bytes\n"
|
||||||
" rtt: %.3f ms\n"
|
" rtt: %.3f ms\n"
|
||||||
" rttvar: %.3f ms\n"
|
" rttvar: %.3f ms\n"
|
||||||
" upload: %"PRIu64" bytes/s\n"
|
" upload: %"PRIu64" bytes/s (max: %"PRIu64")\n"
|
||||||
" download: %"PRIu64" bytes/s\n"
|
" download: %"PRIu64" bytes/s (max: %"PRIu64")\n"
|
||||||
" output: %"PRIu64" packets\n"
|
" output: %"PRIu64" packets\n"
|
||||||
" input: %"PRIu64" packets\n",
|
" input: %"PRIu64" packets\n",
|
||||||
statestr,
|
statestr,
|
||||||
@@ -69,7 +69,9 @@ gt_path_status(int fd)
|
|||||||
res.path_status.rtt/(double)1e3,
|
res.path_status.rtt/(double)1e3,
|
||||||
res.path_status.rttvar/(double)1e3,
|
res.path_status.rttvar/(double)1e3,
|
||||||
res.path_status.r_rate,
|
res.path_status.r_rate,
|
||||||
|
res.path_status.r_ratemax,
|
||||||
res.path_status.recv.rate,
|
res.path_status.recv.rate,
|
||||||
|
res.path_status.recv.ratemax,
|
||||||
res.path_status.send.total,
|
res.path_status.send.total,
|
||||||
res.path_status.recv.total);
|
res.path_status.recv.total);
|
||||||
} while (res.ret == EAGAIN);
|
} while (res.ret == EAGAIN);
|
||||||
|
|||||||
Reference in New Issue
Block a user