Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
isolating uncategorized resource utilization tracing to get a cleaner trace
[simgrid.git] / src / instr / interface.c
index bf898aa..573f498 100644 (file)
@@ -51,9 +51,11 @@ int TRACE_start()
 
   if (IS_TRACING_PLATFORM) {
     pajeDefineVariableType("power", "HOST", "power");
-    pajeDefineVariableType("power_used", "HOST", "power_used");
+    if (TRACE_uncategorized()){
+      pajeDefineVariableType("power_used", "HOST", "power_used");
+      pajeDefineVariableType("bandwidth_used", "LINK", "bandwidth_used");
+    }
     pajeDefineVariableType("bandwidth", "LINK", "bandwidth");
-    pajeDefineVariableType("bandwidth_used", "LINK", "bandwidth_used");
     pajeDefineVariableType("latency", "LINK", "latency");
     pajeDefineEventType("source", "LINK", "source");
     pajeDefineEventType("destination", "LINK", "destination");