Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] uncategorized resource tracing option is independent from categorized, and...
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 6 Dec 2010 00:55:53 +0000 (00:55 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 6 Dec 2010 00:55:53 +0000 (00:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8989 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/instr_interface.c

index d1ac600..635fbf8 100644 (file)
@@ -45,11 +45,9 @@ int TRACE_start()
   /* type hierarchy for:
    * --cfg=tracing/uncategorized
    */
   /* type hierarchy for:
    * --cfg=tracing/uncategorized
    */
-  if (TRACE_platform_is_enabled()) {
-    if (TRACE_uncategorized()){
-      pajeDefineVariableType("power_used", "HOST", "power_used");
-      pajeDefineVariableType("bandwidth_used", "LINK", "bandwidth_used");
-    }
+  if (TRACE_uncategorized()){
+    pajeDefineVariableTypeWithColor("power_used", "HOST", "power_used", "0.5 0.5 0.5");
+    pajeDefineVariableTypeWithColor("bandwidth_used", "LINK", "bandwidth_used", "0.5 0.5 0.5");
   }
 
   /* type hierarchy for:
   }
 
   /* type hierarchy for: