rts/Timer: Actually fix #9105

Authored by bgamari on Jan 27 2016, 4:05 AM.

Description

rts/Timer: Actually fix Trac #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: Trac #9105

Details

Committed
bgamariJan 27 2016, 4:32 AM
Reviewer
simonmar
Differential Revision
D1844: rts/Timer: Actually fix #9105
Parents
rGHC1f6d1422f9fe: ghci: fix trac issue #11481
Branches
Unknown
Tags
Unknown