Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
creating a source file dedicated to handle the categories
[simgrid.git] / src / instr / smx_instr.c
index c95ac72..bb959d5 100644 (file)
@@ -16,7 +16,7 @@ void TRACE_smx_action_execute (smx_action_t act)
   if (!IS_TRACING) return;
 
   act->counter = counter++;
-  category = __TRACE_current_category_get (SIMIX_process_self());
+  category = __TRACE_category_get (SIMIX_process_self());
   if (category){
        act->category = xbt_new (char, strlen (category)+1);
        strncpy (act->category, category, strlen(category)+1);
@@ -29,7 +29,7 @@ void TRACE_smx_action_communicate (smx_action_t act, smx_process_t proc)
   if (!IS_TRACING) return;
 
   act->counter = counter++;
-  category = __TRACE_current_category_get (proc);
+  category = __TRACE_category_get (proc);
   if (category){
     act->category = xbt_strdup (category);
   }