Tarsnap / tarsnap

Command-line client code for Tarsnap.
https://tarsnap.com
Other
865 stars 60 forks source link

tsnetwork_bwlimit.c: add TSNETWORK_PRINT_SPEED_SECONDS #545

Closed gperciva closed 2 years ago

gperciva commented 2 years ago

To use, compile with

-DTSNETWORK_PRINT_SPEED_SECONDS=x

where x is the minimum duration between updates, and run with --debug-network-stats.

The message is in the form:

TSNETWORK_PRINT_SPEED_SECONDS  seconds  speed_in  speed_out

(with the separators being tabs instead of two spaces)