projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improvements to findPtr(), a neat hack for browsing the heap in gdb
[ghc-hetmet.git]
/
rts
/
Profiling.c
diff --git
a/rts/Profiling.c
b/rts/Profiling.c
index
0769b52
..
581bf06
100644
(file)
--- a/
rts/Profiling.c
+++ b/
rts/Profiling.c
@@
-40,7
+40,7
@@
unsigned int HP_ID;
/* figures for the profiling report.
*/
/* figures for the profiling report.
*/
-static ullong total_alloc;
+static StgWord64 total_alloc;
static lnat total_prof_ticks;
/* Globals for opening the profiling log file(s)
static lnat total_prof_ticks;
/* Globals for opening the profiling log file(s)
@@
-770,7
+770,7
@@
reportCCSProfiling( void )
(int) RtsFlags.MiscFlags.tickInterval);
fprintf(prof_file, "\ttotal alloc = %11s bytes",
(int) RtsFlags.MiscFlags.tickInterval);
fprintf(prof_file, "\ttotal alloc = %11s bytes",
- ullong_format_string(total_alloc * sizeof(W_),
+ showStgWord64(total_alloc * sizeof(W_),
temp, rtsTrue/*commas*/));
#if defined(PROFILING_DETAIL_COUNTS)
temp, rtsTrue/*commas*/));
#if defined(PROFILING_DETAIL_COUNTS)