diff options
author | andy@galois.com <unknown> | 2006-12-13 00:19:17 +0000 |
---|---|---|
committer | andy@galois.com <unknown> | 2006-12-13 00:19:17 +0000 |
commit | 55dd028c1dc41c603316dbe843fa13c1cac30720 (patch) | |
tree | 509cbaf986cd3c9cc10f01458f4eefc72b72911c /includes/RtsExternal.h | |
parent | d50e93cf95b68bf858be82025b56c9977335ed76 (diff) | |
download | haskell-55dd028c1dc41c603316dbe843fa13c1cac30720.tar.gz |
Misc Hpc improvement to dynamic tracer output
- Added HPCRIX support for passing tracer filename.
- Added thread tracing support.
- Cleaned up use of HsFFI.h
Diffstat (limited to 'includes/RtsExternal.h')
-rw-r--r-- | includes/RtsExternal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index bf581b7a2b..b917dcf141 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -66,6 +66,12 @@ extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr, char *typeString); extern void freeHaskellFunctionPtr(void* ptr); +/* Hpc stuff */ +extern int hs_hpc_module(char *modName,int modCount,StgWord64 *tixArr); +extern void hs_hpc_tick(int globIx,struct StgTSO_ *current_tso); +extern void hs_hpc_throw(struct StgTSO_ *current_tso); + + #if defined(mingw32_HOST_OS) extern int rts_InstallConsoleEvent ( int action, StgStablePtr *handler ); extern void rts_ConsoleHandlerDone ( int ev ); |