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/RtsFlags.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/RtsFlags.c')
-rw-r--r-- | rts/RtsFlags.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index ddc19287e4..d818e774cb 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -463,6 +463,7 @@ usage_text[] = { " 2 - level 2 cache misses", " b - branch mispredictions", " s - stalled cycles", +" e - cache miss and branch misprediction events", #endif "", "RTS options may also be specified using the GHCRTS environment variable.", @@ -677,6 +678,9 @@ error = rtsTrue; case 's': RtsFlags.PapiFlags.eventType = PAPI_FLAG_STALLS; break; + case 'e': + RtsFlags.PapiFlags.eventType = PAPI_FLAG_CB_EVENTS; + break; default: bad_option( rts_argv[arg] ); } |