Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Group MC_ignore_global_variable("mc_diff_info"); its fiends
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 16 Jun 2014 13:59:34 +0000 (15:59 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 16 Jun 2014 13:59:34 +0000 (15:59 +0200)
src/mc/mc_diff.c
src/mc/mc_global.c

index 2adc641..5876c96 100644 (file)
@@ -421,10 +421,6 @@ int init_heap_information(xbt_mheap_t heap1, xbt_mheap_t heap2, xbt_dynar_t i1,
   memset(state->types2, 0,
          state->heaplimit * MAX_FRAGMENT_PER_BLOCK * sizeof(type_name *));
 
-  if (MC_is_active()) {
-    MC_ignore_global_variable("mc_diff_info");
-  }
-
   return 0;
 
 }
index e9520f6..e909cc6 100644 (file)
@@ -295,6 +295,9 @@ void MC_init()
     MC_ignore_global_variable("maestro_stack_end");
     MC_ignore_global_variable("smx_total_comms");
 
+    if (MC_is_active()) {
+      MC_ignore_global_variable("mc_diff_info");
+    }
 
     MC_ignore_heap(mc_time, simix_process_maxpid * sizeof(double));