Commit 06beed68 authored by Douglas Wilson's avatar Douglas Wilson Committed by Marge Bot

rts: stats: Fix calculation for fragmentation

parent f49d6fb2
Pipeline #29706 canceled with stages
......@@ -1399,7 +1399,7 @@ stat_exitReport (void)
* BLOCKS_PER_MBLOCK
* BLOCK_SIZE_W
- hw_alloc_blocks * BLOCK_SIZE_W)
/ (uint64_t)sizeof(W_);
* (uint64_t)sizeof(W_);
sum.average_bytes_used = stats.major_gcs == 0 ? 0 :
stats.cumulative_live_bytes/stats.major_gcs,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment