X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2FHpc.h;h=bceb81c961877e73db5adb333c12ecf8eee54895;hb=6cec61d14a324285dbb8ce73d4c7215f1f8d6766;hp=c966e32cd92fc683c4dcaa9d75d1e73070643a54;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/includes/rts/Hpc.h b/includes/rts/Hpc.h index c966e32..bceb81c 100644 --- a/includes/rts/Hpc.h +++ b/includes/rts/Hpc.h @@ -4,6 +4,11 @@ * * Haskell Program Coverage * + * Do not #include this file directly: #include "Rts.h" instead. + * + * To understand the structure of the RTS headers, see the wiki: + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * * -------------------------------------------------------------------------- */ #ifndef RTS_HPC_H @@ -13,16 +18,16 @@ typedef struct _HpcModuleInfo { char *modName; // name of module StgWord32 tickCount; // number of ticks - StgWord32 tickOffset; // offset into a single large .tix Array - StgWord32 hashNo; // Hash number for this module's mix info + StgWord32 hashNo; // Hash number for this module's mix info StgWord64 *tixArr; // tix Array; local for this module + rtsBool from_file; // data was read from the .tix file struct _HpcModuleInfo *next; } HpcModuleInfo; -int hs_hpc_module (char *modName, - StgWord32 modCount, - StgWord32 modHashNo, - StgWord64 *tixArr); +void hs_hpc_module (char *modName, + StgWord32 modCount, + StgWord32 modHashNo, + StgWord64 *tixArr); HpcModuleInfo * hs_hpc_rootModule (void);