diff options
author | Alexey Rodriguez <mrchebas@gmail.com> | 2006-12-21 11:56:15 +0000 |
---|---|---|
committer | Alexey Rodriguez <mrchebas@gmail.com> | 2006-12-21 11:56:15 +0000 |
commit | b927a3c1ca03948d9dd50657c01f7f50dc7161e8 (patch) | |
tree | 672479102996a6fecac585c016888f50f7a323c0 /rts/Stats.c | |
parent | 59a91586963b8adbc03bbe8fc29fc71fac5c0989 (diff) | |
download | haskell-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.c | 2 |
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 } |