X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=config.h;h=227c9a9c7a5df0586b84c254eaab5f431bd58559;hb=1a6c97a90dcb078ef64ca95d058837a575b34239;hp=ed305311a2b9e2306f46e88743f0cf6cd8da1f24;hpb=82a487f5efd48d3ec5f35a72e826100371731506;p=model-checker.git diff --git a/config.h b/config.h index ed30531..227c9a9 100644 --- a/config.h +++ b/config.h @@ -5,8 +5,48 @@ #ifndef CONFIG_H #define CONFIG_H +/** Turn on debugging. */ +/* #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.*/ +#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. */ +#ifndef BIT48 +#ifdef _LP64 #define BIT48 1 +#else +#define BIT48 0 +#endif +#endif /* BIT48 */ + +/** Snapshotting configurables */ + +/** + * 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() */ +#define USE_MPROTECT_SNAPSHOT 2 + +/** Size of signal stack */ +#define SIGSTACKSIZE 32768 + +/** Page size configuration */ +#define PAGESIZE 4096 + +/** Thread parameters */ + +/* Size of stack to allocate for a thread. */ +#define STACK_SIZE (1024 * 1024) + #endif