X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FStats.h;h=0c5178723cc2001a6b3f9f12e23435b5a491d77a;hp=f3a20ae6a24d08b6e0c2c68a3d49e9f795220571;hb=HEAD;hpb=f6ee1f315a7e7069b21a993fb058e00d06b73487 diff --git a/rts/Stats.h b/rts/Stats.h index f3a20ae..0c51787 100644 --- a/rts/Stats.h +++ b/rts/Stats.h @@ -13,13 +13,18 @@ #include "BeginPrivate.h" +struct gc_thread_; + void stat_startInit(void); void stat_endInit(void); -void stat_startGC(void); -void stat_endGC (lnat alloc, lnat live, - lnat copied, lnat gen, - lnat max_copied, lnat avg_copied, lnat slop); +void stat_startGC(struct gc_thread_ *gct); +void stat_endGC (struct gc_thread_ *gct, lnat alloc, lnat live, + lnat copied, nat gen, + lnat max_copied, lnat avg_copied, lnat slop); + +void stat_gcWorkerThreadStart (struct gc_thread_ *gct); +void stat_gcWorkerThreadDone (struct gc_thread_ *gct); #ifdef PROFILING void stat_startRP(void);