X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsExternal.h;h=b95da387bdb33c994355ade8988a12099b3a8759;hb=87c93cf56c83abf0148c91d5972dbe65dc72c38a;hp=6c1f71e3d1b9c17b49350d8547e51cf39578814d;hpb=a4157bd2dc1e81f9da84b080a3dbaea18b329401;p=ghc-hetmet.git diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 6c1f71e..b95da38 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -73,13 +73,13 @@ extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr, extern void freeHaskellFunctionPtr(void* ptr); /* Hpc stuff */ -extern int hs_hpc_module(char *modName,int modCount,int modHashNo,StgWord64 *tixArr); +extern int hs_hpc_module(char *modName, StgWord32 modCount, StgWord32 modHashNo,StgWord64 *tixArr); // Simple linked list of modules typedef struct _HpcModuleInfo { char *modName; // name of module - int tickCount; // number of ticks - int tickOffset; // offset into a single large .tix Array - int hashNo; // Hash number for this module's mix info + StgWord32 tickCount; // number of ticks + StgWord32 tickOffset; // offset into a single large .tix Array + StgWord32 hashNo; // Hash number for this module's mix info StgWord64 *tixArr; // tix Array; local for this module struct _HpcModuleInfo *next; } HpcModuleInfo; @@ -124,5 +124,8 @@ extern void performMajorGC(void); extern HsInt64 getAllocations( void ); extern void revertCAFs( void ); extern void dirty_MUT_VAR(StgRegTable *reg, StgClosure *p); +extern void dirty_MVAR(StgRegTable *reg, StgClosure *p); + +extern void dirty_TSO(StgClosure *tso); #endif /* RTSEXTERNAL_H */