X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08e7455d67920bbd7a87f440d00f2c1e071314a0..968613a336f2fff832f9085e69b990e7371ca8e5:/src/instr/instr_resource_utilization.cpp diff --git a/src/instr/instr_resource_utilization.cpp b/src/instr/instr_resource_utilization.cpp index c308b5db15..8af9cc2dbb 100644 --- a/src/instr/instr_resource_utilization.cpp +++ b/src/instr/instr_resource_utilization.cpp @@ -1,16 +1,16 @@ -/* Copyright (c) 2010-2021. The SimGrid Team. +/* Copyright (c) 2010-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/instr/instr_private.hpp" +#include "xbt/log.h" #include XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_resource, instr, "tracing (un)-categorized resource utilization"); -namespace simgrid { -namespace instr { +namespace simgrid::instr { void resource_set_utilization(const char* type, const char* name, const char* resource, const std::string& category, double value, double now, double delta) { @@ -32,5 +32,4 @@ void resource_set_utilization(const char* type, const char* name, const char* re container->get_variable(name)->instr_event(now, delta, resource, value); } } -} // namespace instr -} // namespace simgrid +} // namespace simgrid::instr