#5474: Add facility for emitting heap profile marker
---------------------------------+------------------------------------------
    Reporter:  hvr               |       Owner:              
        Type:  feature request   |      Status:  new         
    Priority:  normal            |   Component:  Profiling   
     Version:                    |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 When analysing heap profile diagrams I often want correlate certain points
 in the program execution with the corresponding point in the heap
 profiling diagram.

 Currently, I resort to causing ''flatlines'' by burning cpu cycles with
 some dummy calculations which don't cause too much GC activity. But this
 is just a crutch, and doesn't work too well for concurrent/parallel
 Haskell programs.

 It would be helpful to have a GHC facility to emit custom marker "events"
 (maybe with an user-suppliable associated numeric identifier to
 differentiate between multiple markers) to the heap-profile which could
 then be directly looked up in the resulting heap profile diagram (rather
 than having to recognize geometric graph features in the diagram).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5474>
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