mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
dd: Make status=noxfer
still print some statistics
This commit is contained in:
parent
2f6c99dce5
commit
4020892945
Notes:
sideshowbarker
2024-07-17 02:08:15 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/4020892945 Pull-request: https://github.com/SerenityOS/serenity/pull/18839 Reviewed-by: https://github.com/Panky-codes ✅ Reviewed-by: https://github.com/gmta ✅
@ -47,11 +47,13 @@ struct {
|
||||
|
||||
static void closing_statistics()
|
||||
{
|
||||
if (statistics.status != Default)
|
||||
if (statistics.status == None)
|
||||
return;
|
||||
warnln("{}+{} blocks in", statistics.total_blocks_in, statistics.partial_blocks_in);
|
||||
warnln("{}+{} blocks out", statistics.total_blocks_out, statistics.partial_blocks_out);
|
||||
warnln("{} bytes copied.", statistics.total_bytes_copied);
|
||||
if (statistics.status != Noxfer) {
|
||||
warnln("{} bytes copied.", statistics.total_bytes_copied);
|
||||
}
|
||||
}
|
||||
|
||||
static StringView split_at_equals(StringView argument)
|
||||
|
Loading…
Reference in New Issue
Block a user