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

(cherry picked from commit 1c6130d91420dc835c281bc9b13d603b7aa49b59)

Details

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