diff options
author | Ben Gamari <ben@well-typed.com> | 2022-08-23 15:36:52 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-08-24 02:38:13 -0400 |
commit | a9f0e68ede36ad571d32e66a8e49e8c9f3b6a92b (patch) | |
tree | 6a493bc0dcdab37f1048ce992f7b512d27ad0c35 | |
parent | 112e4f9c9c299b460e37a60d8f8d8693aa6ab06a (diff) | |
download | haskell-a9f0e68ede36ad571d32e66a8e49e8c9f3b6a92b.tar.gz |
rts: Consistently use MiB in stats output
Previously we would say `MB` even where we
meant `MiB`.
-rw-r--r-- | rts/Stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Stats.c b/rts/Stats.c index 794c67ebd5..82a4e5dff5 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -839,7 +839,7 @@ static void report_summary(const RTSSummaryStats* sum) statsPrintf("%16s bytes maximum slop\n", temp); statsPrintf("%16" FMT_Word64 " MiB total memory in use (%" - FMT_Word64 " MB lost due to fragmentation)\n\n", + FMT_Word64 " MiB lost due to fragmentation)\n\n", stats.max_mem_in_use_bytes / (1024 * 1024), sum->fragmentation_bytes / (1024 * 1024)); |