diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-07 11:53:59 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-07 11:53:59 +0000 |
commit | 5fb52815fa7aef4a4793eb58a909bd5465b77bb4 (patch) | |
tree | 99e567e8d54f5ea1aff61607b9d30bcfc20d0597 /rts/Stats.c | |
parent | e33f8e0de301e7138d2fc9287acbf2e890e727ed (diff) | |
download | haskell-5fb52815fa7aef4a4793eb58a909bd5465b77bb4.tar.gz |
remove global 'total_allocated', seems to be the same as 'GC_tot_alloc'
Diffstat (limited to 'rts/Stats.c')
-rw-r--r-- | rts/Stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Stats.c b/rts/Stats.c index b1061dee56..20de32a808 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -813,7 +813,7 @@ statDescribeGens(void) -------------------------------------------------------------------------- */ extern HsInt64 getAllocations( void ) -{ return (HsInt64)total_allocated * sizeof(W_); } +{ return (HsInt64)GC_tot_alloc * sizeof(W_); } /* ----------------------------------------------------------------------------- Dumping stuff in the stats file, or via the debug message interface |