projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve documentation + Doxygen formatting
[model-checker.git]
/
config.h
diff --git
a/config.h
b/config.h
index 16a41d7a1f49ede60cbdc3ac94d09ccfa30c7581..891dfd7f7a02dacec02ff339a0ff2bffeaa58fcc 100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-9,11
+9,15
@@
/* #ifndef CONFIG_DEBUG
#define CONFIG_DEBUG
#endif
/* #ifndef CONFIG_DEBUG
#define CONFIG_DEBUG
#endif
+
+ #ifndef CONFIG_ASSERT
+ #define CONFIG_ASSERT
+ #endif
*/
/** Turn on support for dumping cyclegraphs as dot files at each
* printed summary.*/
*/
/** Turn on support for dumping cyclegraphs as dot files at each
* printed summary.*/
-#define SUPPORT_MOD_ORDER_DUMP
1
+#define SUPPORT_MOD_ORDER_DUMP
0
/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses.
* Set to 1 for 48-bit, 0 for 32-bit. */
/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses.
* Set to 1 for 48-bit, 0 for 32-bit. */
@@
-27,12
+31,14
@@
/** Snapshotting configurables */
/** Snapshotting configurables */
-/** If USE_MPROTECT_SNAPSHOT=1, then snapshot by using mmap() and mprotect()
+/**
+ * If USE_MPROTECT_SNAPSHOT=2, then snapshot by tuned mmap() algorithm
+ * If USE_MPROTECT_SNAPSHOT=1, then snapshot by using mmap() and mprotect()
* If USE_MPROTECT_SNAPSHOT=0, then snapshot by using fork() */
* If USE_MPROTECT_SNAPSHOT=0, then snapshot by using fork() */
-#define USE_MPROTECT_SNAPSHOT
1
+#define USE_MPROTECT_SNAPSHOT
2
/** Size of signal stack */
/** Size of signal stack */
-#define SIGSTACKSIZE
32768
+#define SIGSTACKSIZE
65536
/** Page size configuration */
#define PAGESIZE 4096
/** Page size configuration */
#define PAGESIZE 4096
@@
-42,5
+48,10
@@
/* Size of stack to allocate for a thread. */
#define STACK_SIZE (1024 * 1024)
/* Size of stack to allocate for a thread. */
#define STACK_SIZE (1024 * 1024)
+/** How many shadow tables of memory to preallocate for data race detector. */
+#define SHADOWBASETABLES 4
+
+/** Enable debugging assertions (via ASSERT()) */
+#define CONFIG_ASSERT
#endif
#endif