X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13e64de335db45c87e2d7c8668ce8b16b7cb2139..b1a51bf03db0f4d86f3e89016affd30f091bd8db:/src/instr/instr_resource_utilization.cpp diff --git a/src/instr/instr_resource_utilization.cpp b/src/instr/instr_resource_utilization.cpp index f67b618f89..c308b5db15 100644 --- a/src/instr/instr_resource_utilization.cpp +++ b/src/instr/instr_resource_utilization.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. +/* Copyright (c) 2010-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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); }