summaryrefslogtreecommitdiff
path: root/rts/Stats.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:35:04 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:35:04 +0000
commitf732e7862bb1fcc65fcfbcfb6eaaf6dde39fdd5f (patch)
treee66fdce1149ac0b6f91d126d13dc45b51f0de7b9 /rts/Stats.c
parent2aa877f8588da099351ef51efca3605fd87ea768 (diff)
downloadhaskell-f732e7862bb1fcc65fcfbcfb6eaaf6dde39fdd5f.tar.gz
Add +RTS -vg flag for requesting some GC trace messages, outside DEBUG
DEBUG imposes a significant performance hit in the GC, yet we often want some of the debugging output, so -vg gives us the cheap trace messages without the sanity checking of DEBUG, just like -vs for the scheduler.
Diffstat (limited to 'rts/Stats.c')
-rw-r--r--rts/Stats.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/Stats.c b/rts/Stats.c
index 8c24b299b6..2fdd0a8b3c 100644
--- a/rts/Stats.c
+++ b/rts/Stats.c
@@ -668,7 +668,6 @@ stat_exit(int alloc)
Produce some detailed info on the state of the generational GC.
-------------------------------------------------------------------------- */
-#ifdef DEBUG
void
statDescribeGens(void)
{
@@ -709,7 +708,6 @@ statDescribeGens(void)
}
debugBelch("\n");
}
-#endif
/* -----------------------------------------------------------------------------
Stats available via a programmatic interface, so eg. GHCi can time