Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/42dda24e1a43ebd8a61657a92d0506b58eca0e71 >--------------------------------------------------------------- commit 42dda24e1a43ebd8a61657a92d0506b58eca0e71 Author: Ian Lynagh <[email protected]> Date: Sun Jan 15 00:50:03 2012 +0000 Remove some "0 +"s that look redundant >--------------------------------------------------------------- rts/Stats.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rts/Stats.c b/rts/Stats.c index f3ed73c..83c43f0 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -565,8 +565,8 @@ stat_exit(int alloc) // heapCensus() is called by the GC, so RP and HC time are // included in the GC stats. We therefore subtract them to // obtain the actual GC cpu time. - gc_cpu -= 0 + PROF_VAL(RP_tot_time + HC_tot_time); - gc_elapsed -= 0 + PROF_VAL(RPe_tot_time + HCe_tot_time); + gc_cpu -= PROF_VAL(RP_tot_time + HC_tot_time); + gc_elapsed -= PROF_VAL(RPe_tot_time + HCe_tot_time); init_cpu = get_init_cpu(); init_elapsed = get_init_elapsed(); _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
