diff options
author | Ian Lynagh <igloo@earth.li> | 2012-01-15 00:50:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-01-15 00:50:03 +0000 |
commit | 42dda24e1a43ebd8a61657a92d0506b58eca0e71 (patch) | |
tree | 936abb044e64792047cd5e42e17ad9583049490b /rts/Stats.c | |
parent | 10f58476b7c58b2270765caf03c7ec4fbdc14c50 (diff) | |
download | haskell-42dda24e1a43ebd8a61657a92d0506b58eca0e71.tar.gz |
Remove some "0 +"s that look redundant
Diffstat (limited to 'rts/Stats.c')
-rw-r--r-- | rts/Stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Stats.c b/rts/Stats.c index f3ed73c8fa..83c43f0bdd 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(); |