diff options
author | Duncan Coutts <duncan@well-typed.com> | 2011-06-01 19:38:15 +0100 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2011-07-18 16:31:14 +0100 |
commit | 556557ebee2758acade603e25a8a16266dea791d (patch) | |
tree | 30e93330fac8cec46f1241c6dba170ea6797f2e5 /rts/Sparks.h | |
parent | ededf355981fd08f52b4fab256f231179848073f (diff) | |
download | haskell-556557ebee2758acade603e25a8a16266dea791d.tar.gz |
Use a struct for the set of spark counters
Diffstat (limited to 'rts/Sparks.h')
-rw-r--r-- | rts/Sparks.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rts/Sparks.h b/rts/Sparks.h index e3ddc0cfaa..c987a94960 100644 --- a/rts/Sparks.h +++ b/rts/Sparks.h @@ -15,6 +15,15 @@ /* typedef for SparkPool in RtsTypes.h */ +/* Stats on spark creation/conversion */ +typedef struct { + StgWord created; + StgWord dud; + StgWord converted; + StgWord gcd; + StgWord fizzled; +} SparkCounters; + #if defined(THREADED_RTS) typedef WSDeque SparkPool; |