Commit 68c1816d authored by Ian Lynagh's avatar Ian Lynagh

Fix profiling output; spotted by jlouis

We were outputing the number of words allocated in a column titled "bytes".
parent 8b6c1605
......@@ -697,7 +697,7 @@ report_per_cc_costs( void )
if (RtsFlags.CcFlags.doCostCentres >= COST_CENTRES_VERBOSE) {
fprintf(prof_file, " %5" FMT_Word64 " %9" FMT_Word64,
(StgWord64)(cc->time_ticks), cc->mem_alloc);
(StgWord64)(cc->time_ticks), cc->mem_alloc*sizeof(W_));
}
fprintf(prof_file, "\n");
}
......
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