Error in GHC runtime stats output
marlowsd at gmail.com
Wed May 11 11:20:00 CEST 2011
On 10/05/2011 19:24, David Peixotto wrote:
> I found that the runtime stats output was incorrect for the one-line stats
> (i.e. the +RTS -t -RTS output). The output was giving zeros for several
> of the
> times, for example the mutator time. The problem was that the time
> values were
> being computed inside a conditional so they were not correctly set for the
> one-line outputs, but they were set for the more verbose outputs (i.e. -s).
> I wrote a small patch that fixes the problem by moving the computation
> of the conditional. The patch is available on the stats-fix branch here:
> git://github.com/dmpots/ghc.git stats-fix
Thanks, looks like my fault, I'll merge your branch.
More information about the Cvs-ghc