summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:33:58 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:33:58 +0000
commitea661992b7397eddee145b80a449c40ab565fd12 (patch)
tree24907043f480133a7fac4c28e4b50de1b90b1624 /includes
parent29b3b0bdb952e9141e7b49753d8a72c8d31041ae (diff)
downloadhaskell-ea661992b7397eddee145b80a449c40ab565fd12.tar.gz
Add profiling of spinlocks
Diffstat (limited to 'includes')
-rw-r--r--includes/RtsConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/RtsConfig.h b/includes/RtsConfig.h
index c40924a5e7..828b9e72d3 100644
--- a/includes/RtsConfig.h
+++ b/includes/RtsConfig.h
@@ -77,4 +77,8 @@
#define RTS_USER_SIGNALS 1
#endif
+/* Profile spin locks */
+
+#define PROF_SPIN
+
#endif /* RTSCONFIG_H */