Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : rename MC_max_depth(int prop) -> MC_cut()
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 10 Aug 2013 10:22:49 +0000 (12:22 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 10 Aug 2013 10:38:01 +0000 (12:38 +0200)
include/simgrid/modelchecker.h
src/mc/mc_global.c

index 9f260a3..0993b45 100644 (file)
@@ -23,7 +23,7 @@ XBT_PUBLIC(int) MC_random(void);
 XBT_PUBLIC(void) MC_automaton_new_propositional_symbol(const char* id, void* fct);
 XBT_PUBLIC(void *) MC_snapshot(void);
 XBT_PUBLIC(int) MC_compare_snapshots(void *s1, void *s2);
-XBT_PUBLIC(void) MC_max_depth(int);
+XBT_PUBLIC(void) MC_cut(void);
 
 #else
 
index a2aa358..a7f1db8 100644 (file)
@@ -2391,8 +2391,8 @@ void MC_assert(int prop)
   }
 }
 
-void MC_max_depth(int max_depth){
-  user_max_depth_reached = max_depth;
+void MC_cut(void){
+  user_max_depth_reached = 1;
 }
 
 void MC_process_clock_add(smx_process_t process, double amount)