rts/Timer: Actually fix #9105
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 27 Jan 2016 10:05:23 +0000 (11:05 +0100)
committerBen Gamari <ben@smart-cactus.org>
Wed, 27 Jan 2016 10:32:15 +0000 (11:32 +0100)
commit1c6130d91420dc835c281bc9b13d603b7aa49b59
tree06ee1125b2f8e8bd5f882326f864d9597188c4fb
parent1f6d1422f9fe875e1d150b423c4864b42d96b8db
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
rts/Timer.c