Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2088abaf4173090e343b521dc89d622936fba850 >--------------------------------------------------------------- commit 2088abaf4173090e343b521dc89d622936fba850 Author: Edward Z. Yang <[email protected]> Date: Sat Jul 30 16:02:10 2011 -0400 Implement public interface for GC statistics. We add a new RTS flag -T for collecting statistics but not giving any new inputs. There is one new struct in rts/storage/GC.h: GCStats. We add two new global counters current_residency and current_slop, which are useful for in-program GC statistics. See GHC.Stats in base for a Haskell interface to this functionality. Signed-off-by: Edward Z. Yang <[email protected]> includes/rts/storage/GC.h | 44 +++++++++++++++++++++++++ rts/Linker.c | 1 + rts/RtsFlags.c | 5 +++ rts/Stats.c | 77 +++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 124 insertions(+), 3 deletions(-) Diff suppressed because of size. To see it, use: git show 2088abaf4173090e343b521dc89d622936fba850 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
