summaryrefslogtreecommitdiff
path: root/rts/Hpc.h
diff options
context:
space:
mode:
authorandy@galois.com <unknown>2006-10-24 21:29:07 +0000
committerandy@galois.com <unknown>2006-10-24 21:29:07 +0000
commitd5934bbb856aa0aa620c9b2e0fa51c90a1a5a048 (patch)
tree065c061d4ff87a6ca8bff6a3a4b0fe205728e066 /rts/Hpc.h
parent33b8b60e0aa925962cd11a8be98d9818666d58a0 (diff)
downloadhaskell-d5934bbb856aa0aa620c9b2e0fa51c90a1a5a048.tar.gz
Haskell Program Coverage
This large checkin is the new ghc version of Haskell Program Coverage, an expression-level coverage tool for Haskell. Parts: - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files. - Coverage.lhs - Annotates the HsSyn with coverage tickboxes. - New Note's in Core, - TickBox -- ticked on entry to sub-expression - BinaryTickBox -- ticked on exit to sub-expression, depending -- on the boolean result. - New Stg level TickBox (no BinaryTickBoxes, though) You can run the coverage tool with -fhpc at compile time. Main must be compiled with -fhpc.
Diffstat (limited to 'rts/Hpc.h')
-rw-r--r--rts/Hpc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rts/Hpc.h b/rts/Hpc.h
new file mode 100644
index 0000000000..a0ff40b06c
--- /dev/null
+++ b/rts/Hpc.h
@@ -0,0 +1,10 @@
+#ifndef HPC_H
+#define HPC_H
+
+extern void startupHpc(void);
+extern void exitHpc(void);
+
+#endif /* HPC_H */
+
+
+