diff options
author | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 21:35:04 +0000 |
---|---|---|
committer | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 21:35:04 +0000 |
commit | f732e7862bb1fcc65fcfbcfb6eaaf6dde39fdd5f (patch) | |
tree | e66fdce1149ac0b6f91d126d13dc45b51f0de7b9 /rts/Stats.c | |
parent | 2aa877f8588da099351ef51efca3605fd87ea768 (diff) | |
download | haskell-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.c | 2 |
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 |