Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1fb38442d3a55ac92795aa6c5ed4df82011df724

>---------------------------------------------------------------

commit 1fb38442d3a55ac92795aa6c5ed4df82011df724
Author: Simon Marlow <marlo...@gmail.com>
Date:   Mon Apr 11 14:48:49 2011 +0100

    Refactoring and tidy up
    
    This is a port of some of the changes from my private local-GC branch
    (which is still in darcs, I haven't converted it to git yet).  There
    are a couple of small functional differences in the GC stats: first,
    per-thread GC timings should now be more accurate, and secondly we now
    report average and maximum pause times. e.g. from minimax +RTS -N8 -s:
    
                                        Tot time (elapsed)  Avg pause  Max pause
      Gen  0      2755 colls,  2754 par   13.16s    0.93s     0.0003s    0.0150s
      Gen  1       769 colls,   769 par    3.71s    0.26s     0.0003s    0.0059s

 rts/Capability.c  |   46 ++----
 rts/Capability.h  |    6 +-
 rts/STM.c         |   13 +-
 rts/STM.h         |    2 +-
 rts/Schedule.c    |   10 ++
 rts/Schedule.h    |    1 +
 rts/Stats.c       |  458 ++++++++++++++++++++++++++---------------------------
 rts/Stats.h       |   13 +-
 rts/Task.c        |   17 ++-
 rts/Task.h        |    3 +
 rts/sm/Compact.c  |    2 +
 rts/sm/Evac.c     |    1 +
 rts/sm/GC.c       |   98 +++++++-----
 rts/sm/GCAux.c    |    2 +-
 rts/sm/GCTDecl.h  |   98 ++++++++++++
 rts/sm/GCThread.h |   96 ++----------
 rts/sm/GCUtils.c  |    1 +
 rts/sm/GCUtils.h  |    2 +
 rts/sm/MarkWeak.c |    1 +
 19 files changed, 462 insertions(+), 408 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 1fb38442d3a55ac92795aa6c5ed4df82011df724

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to