projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print stats only at end of execution
[model-checker.git]
/
main.cc
diff --git
a/main.cc
b/main.cc
index 1aafb696c8f80bd5974957a47eb2c9e0b6324d51..f55b98df2a4cbaa66262497fdad58992c8bac5b0 100644
(file)
--- a/
main.cc
+++ b/
main.cc
@@
-21,14
+21,14
@@
static void param_defaults(struct model_params * params) {
params->enabledcount = 1;
params->bound = 0;
params->maxfuturevalues = 0;
params->enabledcount = 1;
params->bound = 0;
params->maxfuturevalues = 0;
- params->expireslop =
2
;
+ params->expireslop =
10
;
}
static void print_usage(struct model_params *params) {
/* Reset defaults before printing */
param_defaults(params);
}
static void print_usage(struct model_params *params) {
/* Reset defaults before printing */
param_defaults(params);
-
printf
(
+
model_print
(
"Usage: <program name> [MC_OPTIONS] -- [PROGRAM ARGUMENTS]\n"
"\n"
"Options:\n"
"Usage: <program name> [MC_OPTIONS] -- [PROGRAM ARGUMENTS]\n"
"\n"
"Options:\n"
@@
-130,6
+130,8
@@
static void model_main() {
model->finish_execution();
} while (model->next_execution());
model->finish_execution();
} while (model->next_execution());
+ model->print_stats();
+
delete model;
DEBUG("Exiting\n");
delete model;
DEBUG("Exiting\n");