#3869: RTS GC Statistics from -S should be logged via the eventlog system
---------------------------------------------------+------------------------
    Reporter:  cjs                                 |        Owner:              
        Type:  feature request                     |       Status:  new         
    Priority:  normal                              |    Milestone:  6.14 branch 
   Component:  Runtime System                      |      Version:  6.12.1      
    Keywords:  gc, garbage collection, statistics  |   Difficulty:              
          Os:  Unknown/Multiple                    |     Testcase:              
Architecture:  Unknown/Multiple                    |      Failure:  None/Unknown
---------------------------------------------------+------------------------

Comment(by simonmar):

 Replying to [comment:2 cjs]:
 > This may well be valuable enough for me to add myself. I'm guessing the
 user interface would be an "-lg" option. The internals I suspect are easy
 enough; Simon, do you have general suggestions on how you would want this
 done?

 Add a new event "GC_STATS" or something, with fields for bytes allocated,
 bytes copied, bytes live, generation collected.  We might want to add more
 fields in the future, but the format allows us to do that.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3869#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to