[GHC] #14257: Heap profiling with ghc and hp2ps and strict function application ($!) gives samples out of sequence (regression)

GHC ghc-devs at haskell.org
Sun Nov 12 22:42:17 UTC 2017


#14257: Heap profiling with ghc and hp2ps and strict function application ($!)
gives samples out of sequence (regression)
-------------------------------------+-------------------------------------
        Reporter:  carlostome        |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  Runtime System    |              Version:  8.2.1
      Resolution:                    |             Keywords:  profiler
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14006, #11645    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by duog):

 > when I noticed that we already have a separate set of fields for
 accounting heap census time. Presumably this means that we were double-
 counting time previously. Anyways, this suggests to me at least that your
 approach should be fine.

 I don't ''think'' we were double counting. `stat_endGC` is only accounting
 for time, it doesn't call `getProcessTimes`.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14257#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list