projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Users guide: GHC no longer comes with so many libraries
[ghc-hetmet.git]
/
rts
/
Profiling.c
diff --git
a/rts/Profiling.c
b/rts/Profiling.c
index
695d66e
..
4e759b6
100644
(file)
--- a/
rts/Profiling.c
+++ b/
rts/Profiling.c
@@
-13,7
+13,6
@@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Profiling.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Profiling.h"
-#include "Storage.h"
#include "Proftimer.h"
#include "Timer.h"
#include "ProfHeap.h"
#include "Proftimer.h"
#include "Timer.h"
#include "ProfHeap.h"
@@
-23,6
+22,10
@@
#include <string.h>
#include <string.h>
+#ifdef DEBUG
+#include "Trace.h"
+#endif
+
/*
* Profiling allocation arena.
*/
/*
* Profiling allocation arena.
*/
@@
-183,6
+186,12
@@
initProfiling1 (void)
}
void
}
void
+freeProfiling1 (void)
+{
+ arenaFree(prof_arena);
+}
+
+void
initProfiling2 (void)
{
CostCentreStack *ccs, *next;
initProfiling2 (void)
{
CostCentreStack *ccs, *next;