summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-08-23 15:36:52 +0000
committerBen Gamari <ben@well-typed.com>2022-08-23 15:36:52 +0000
commitc383ffd136ce99a0a405f910189a1b355c3c2246 (patch)
tree2fd810d6fb26520f2c0b58c274075fbaec6c14e0
parent80102356468d87b683d5360a291c44b057a52ade (diff)
downloadhaskell-wip/T22091.tar.gz
rts: Consistently use MiB in stats outputwip/T22091
Previously we would say `MB` even where we meant `MiB`.
-rw-r--r--rts/Stats.c2
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));