[GHC] #9105: Profiling binary consumes CPU even when idle on Linux.

GHC ghc-devs at haskell.org
Wed Jan 27 10:30:51 UTC 2016


#9105: Profiling binary consumes CPU even when idle on Linux.
-------------------------------------+-------------------------------------
        Reporter:  robinp            |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Runtime System    |              Version:  7.8.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86
 Type of failure:  Runtime           |            Test Case:
  performance bug                    |
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1822,
       Wiki Page:                    |  Phab:D1844
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"1c6130d91420dc835c281bc9b13d603b7aa49b59/ghc" 1c6130d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1c6130d91420dc835c281bc9b13d603b7aa49b59"
 rts/Timer: Actually fix #9105

 jberthold astutely pointed out that the previous fix (D1822) could not
 have possibly fixed the issue as the patch would only have had any
 effect if !PROFILING.

 Test Plan: Check for reduced CPU usage when compiled with `-prof` but
 without `+RTS -p`

 Reviewers: simonmar, austin, jberthold

 Reviewed By: simonmar, jberthold

 Subscribers: simonmar, thomie

 Differential Revision: https://phabricator.haskell.org/D1844

 GHC Trac Issues: #9105
 }}}

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


More information about the ghc-tickets mailing list