X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a8909d621db9ae5690144cbe00fc0589c8ac26c8..247d96de592ac1fcd59411032c6528f238764516:/src/surf/surf_config.c?ds=inline diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index cda623d550..293a32ae62 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -528,9 +528,16 @@ void surf_config_init(int *argc, char **argv) /* Set max depth exploration */ default_value_int = 1000; xbt_cfg_register(&_surf_cfg_set, "model-check/max_depth", - "Specify the max depth of exploration", + "Specify the max depth of exploration (default : 1000)", xbt_cfgelm_int, &default_value, 0, 1, _mc_cfg_cb_max_depth, NULL); + + /* Set number of visited state stored in stateful mode */ + default_value_int = 0; + xbt_cfg_register(&_surf_cfg_set, "model-check/stateful", + "Specify the number of visited state stored in stateful mode. If value=5, the last 5 visited states are stored", + xbt_cfgelm_int, &default_value, 0, 1, + _mc_cfg_cb_stateful, NULL); #endif /* do verbose-exit */