Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
68c1816d
Commit
68c1816d
authored
May 25, 2010
by
Ian Lynagh
Browse files
Fix profiling output; spotted by jlouis
We were outputing the number of words allocated in a column titled "bytes".
parent
8b6c1605
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Profiling.c
View file @
68c1816d
...
...
@@ -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
"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment