Add spark counter tracing
authorDuncan Coutts <duncan@well-typed.com>
Mon, 6 Jun 2011 09:39:16 +0000 (10:39 +0100)
committerDuncan Coutts <duncan@well-typed.com>
Mon, 18 Jul 2011 15:31:14 +0000 (16:31 +0100)
commitd77df1caad3a5f833aac9275938a0675e1ee6aac
tree611e7bb5cb902a0bc0987f541627d565c4563c0a
parent5d091088ce94be4c389fa669911d0e842bd08952
Add spark counter tracing

A new eventlog event containing 7 spark counters/statistics: sparks
created, dud, overflowed, converted, GC'd, fizzled and remaining.
These are maintained and logged separately for each capability.
We log them at startup, on each GC (minor and major) and on shutdown.
includes/rts/EventLogFormat.h
rts/Capability.c
rts/RtsProbes.d
rts/Schedule.c
rts/Trace.c
rts/Trace.h
rts/eventlog/EventLog.c
rts/eventlog/EventLog.h