Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] renaming function to follow up parameters
[simgrid.git] / src / instr / instr_variables.c
index fd33b7d3fef0cda708e8cfe9449ce2c22077e3b2..8b5c973f67feef161ef22a7eff258ce0d4b86074 100644 (file)
@@ -16,7 +16,7 @@ void TRACE_user_link_variable(double time, const char *src,
                               const char *dst, const char *variable,
                               double value, const char *what)
 {
-  if (!TRACE_is_active() || !TRACE_platform_is_enabled())
+  if (!TRACE_is_active() || !TRACE_categorized ())
     return;
 
   char valuestr[100];
@@ -51,7 +51,7 @@ void TRACE_user_host_variable(double time, const char *variable,
                               double value, const char *what)
 {
   char valuestr[100];
-  if (!TRACE_is_active() || !TRACE_platform_is_enabled())
+  if (!TRACE_is_active() || !TRACE_categorized ())
     return;
 
   snprintf(valuestr, 100, "%g", value);