Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move global variables to class Container.
[simgrid.git] / src / instr / instr_resource_utilization.cpp
index f67b618..cb5e977 100644 (file)
@@ -15,13 +15,13 @@ void resource_set_utilization(const char* type, const char* name, const char* re
                               double value, double now, double delta)
 {
   // only trace resource utilization if resource is known by tracing mechanism
-  container_t container = Container::by_name_or_null(resource);
+  Container* container = Container::by_name_or_null(resource);
   if (container == nullptr || value == 0.0)
     return;
 
   // trace uncategorized resource utilization
   if (TRACE_uncategorized()){
-    XBT_DEBUG("UNCAT %s [%f - %f] %s %s %f", type, now, now + delta, resource, name, value);
+    XBT_VERB("UNCAT %s [%f - %f] %s %s %f", type, now, now + delta, resource, name, value);
     container->get_variable(name)->instr_event(now, delta, resource, value);
   }