diff options
author | Ian Lynagh <igloo@earth.li> | 2010-04-21 16:23:36 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-04-21 16:23:36 +0000 |
commit | 81c95f7d9854521a568179bb19199299835b7a53 (patch) | |
tree | 148e2833ad3112356c87f0b9286032484d587181 /rts/Papi.c | |
parent | 7dbc1d8f8fb650162e01f6eab8dabaf1f53c819d (diff) | |
download | haskell-81c95f7d9854521a568179bb19199299835b7a53.tar.gz |
Use StgWord64 instead of ullong
This patch also fixes ullong_format_string (renamed to showStgWord64)
so that it works with values outside the 32bit range (trac #3979), and
simplifies the without-commas case.
Diffstat (limited to 'rts/Papi.c')
-rw-r--r-- | rts/Papi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Papi.c b/rts/Papi.c index e62fc9595c..4d54c72682 100644 --- a/rts/Papi.c +++ b/rts/Papi.c @@ -180,10 +180,10 @@ init_countable_events(void) static void -papi_report_event(const char *name, ullong value) +papi_report_event(const char *name, StgWord64 value) { static char temp[BIG_STRING_LEN]; - ullong_format_string(value,temp,rtsTrue/*commas*/); + showStgWord64(value,temp,rtsTrue/*commas*/); statsPrintf(" %15s %15s\n", name, temp); } |