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
outside
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.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc