summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-27 18:34:44 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-27 18:34:44 +0000
commite56c41f47d43103a6e8bf744e12229ed6e5a8f19 (patch)
tree39be4124610edf8072206aa85b178b8fe3eab2e2 /src/util
parent14c22833d05f632eb40eb68cc3c68345d891005c (diff)
Adding --mmap option to use memory-mapped file input, which provides a marginal improvement (<5%) on big benchmarks.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/options.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/options.h b/src/util/options.h
index d2b19a20b..676dc0059 100644
--- a/src/util/options.h
+++ b/src/util/options.h
@@ -51,6 +51,9 @@ struct CVC4_PUBLIC Options {
/** Should the parser do semantic checks? */
bool semanticChecks;
+ /** Should the parser memory-map file input? */
+ bool memoryMap;
+
Options() : binary_name(),
smtcomp_mode(false),
statistics(false),
@@ -60,7 +63,8 @@ struct CVC4_PUBLIC Options {
lang(parser::Parser::LANG_AUTO),
d_cnfConversion(CVC4::CNF_VAR_INTRODUCTION),
parseOnly(false),
- semanticChecks(true)
+ semanticChecks(true),
+ memoryMap(false)
{}
};/* struct Options */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback