summaryrefslogtreecommitdiff
path: root/rts/Stats.c
diff options
context:
space:
mode:
authorAlexey Rodriguez <mrchebas@gmail.com>2006-12-21 11:56:15 +0000
committerAlexey Rodriguez <mrchebas@gmail.com>2006-12-21 11:56:15 +0000
commitb927a3c1ca03948d9dd50657c01f7f50dc7161e8 (patch)
tree672479102996a6fecac585c016888f50f7a323c0 /rts/Stats.c
parent59a91586963b8adbc03bbe8fc29fc71fac5c0989 (diff)
downloadhaskell-b927a3c1ca03948d9dd50657c01f7f50dc7161e8.tar.gz
One more PAPI measurement, dropped precise cycle counting and replaced it with instructions.
Diffstat (limited to 'rts/Stats.c')
-rw-r--r--rts/Stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Stats.c b/rts/Stats.c
index 9f12b6da2e..9342118ade 100644
--- a/rts/Stats.c
+++ b/rts/Stats.c
@@ -562,9 +562,11 @@ stat_exit(int alloc)
* Note that the cycles are counted _after_ the initialization of the RTS -- AR */
statsPrintf(" -- CPU Mutator counters --\n");
+ papi_mut_cycles();
papi_report(MutatorCounters);
statsPrintf("\n -- CPU GC counters --\n");
+ papi_gc_cycles();
papi_report(GCCounters);
#endif
}