]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/mc_global.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : one more condition before interleaving process in state
[simgrid.git] / src / mc / mc_global.c
index 42e8dd131ff687d8832408340ecc991038600869..839c96b135b234cb28db220f10c336d7c18b5a66 100644 (file)
@@ -67,6 +67,7 @@ void MC_init_with_automaton(xbt_automaton_t a){
 
   /* Initialize statistics */
   mc_stats_pair = xbt_new0(s_mc_stats_pair_t, 1);
+  mc_stats = xbt_new0(s_mc_stats_t, 1);
   //mc_stats_pair->pair_size = 1;
 
   XBT_DEBUG("Creating snapshot_stack");
@@ -76,8 +77,9 @@ void MC_init_with_automaton(xbt_automaton_t a){
 
   MC_UNSET_RAW_MEM;
 
-  //MC_dfs_init(a);
-  MC_dfs_init(a);
+  //MC_vddfs_with_restore_snapshot_init(a);
+  //MC_ddfs_with_restore_snapshot_init(a);
+  MC_dpor2_init(a);
 }