]> git.proxmox.com Git - proxmox-backup.git/commit
client: rework logging upload size, bandwidth, ... info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Jul 2020 07:45:48 +0000 (09:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Jul 2020 08:28:38 +0000 (10:28 +0200)
commit6e1deb158a5dc83d8a07c1be49fa25d739320c00
treefdcf081fa9b546d90c3c01cab6887129a0b0b2f8
parent50ec1a8712ec58a41d37c88062d0150437a9b4a9
client: rework logging upload size, bandwidth, ... info

Track reused size and chunk counts.
Log reused size and use pretty print for all sizes and bandwidth
metrics.
Calculate speed over the actually uploaded size, as else it can be
skewed really bad (showing like terabytes per second)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/client/backup_writer.rs