Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug a memleak in Threaded maestro creation
[simgrid.git] / src / simix / smx_global.cpp
index f783f8b..d039e8c 100644 (file)
@@ -260,7 +260,7 @@ void SIMIX_global_init(int *argc, char **argv)
     simix_timers = xbt_heap_new(8, &free);
   }
 
-  if (sg_cfg_get_boolean("clean_atexit"))
+  if (xbt_cfg_get_boolean("clean_atexit"))
     atexit(SIMIX_clean);
 
 #if HAVE_MC
@@ -381,7 +381,7 @@ static int process_syscall_color(void *p)
 void SIMIX_run(void)
 {
   if (MC_record_path) {
-    MC_record_replay_from_string(MC_record_path);
+    simgrid::mc::replay(MC_record_path);
     return;
   }